Red — #FF0000
#FF0000 is a medium, vivid red. It is the CSS named color red.
Color values
| HEX | #FF0000 |
| RGB | rgb(255, 0, 0) |
| HSL | hsl(0, 100%, 50%) |
| CMYK | cmyk(0%, 100%, 100%, 0%) |
| Decimal | 16711680 |
| CSS | color: #FF0000; |
| Android | 0xFFFF0000 |
| Swift | UIColor(red: 1.000, green: 0.000, blue: 0.000, alpha: 1) |
Accessibility and contrast
| White text on #FF0000 | 4.00:1 — AA fail · AA large pass · AAA fail |
| Black text on #FF0000 | 5.25:1 — AA pass · AA large pass · AAA fail |
| Recommended text color | black |
WCAG 2.1 asks for at least 4.5:1 for body text and 3:1 for large text (18 pt, or 14 pt bold).
Tints and shades of #FF0000
Each swatch keeps the hue and saturation of #FF0000 and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #FF0000
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #FF0000 in code
/* CSS */
.element { color: #FF0000; background-color: #FF0000; }
.element { color: rgb(255 0 0); }
.element { color: hsl(0 100% 50%); }
/* Tailwind arbitrary value */
<div class="bg-[#FF0000] text-black">
/* SCSS variable */
$brand: #FF0000;
Frequently asked questions
What color is #FF0000?
#FF0000 is a medium, vivid red, which CSS calls red. Its hue sits at 0° on the color wheel, with 100% saturation and 50% lightness.
What is #FF0000 in RGB?
#FF0000 converts to rgb(255, 0, 0) — 255 red, 0 green and 0 blue.
What is #FF0000 in CMYK?
Approximately cmyk(0%, 100%, 100%, 0%). Print output depends on the ICC profile of the press and paper, so treat this as a starting point rather than an exact match.
Should text on #FF0000 be white or black?
Black gives the better contrast ratio (5.25:1 versus 4.00:1).
What is the complementary color of #FF0000?
#00FFFF — the hue directly opposite #FF0000 on the color wheel.