Red Color
Pure red #FF0000 — the red primary of RGB at full intensity.
Red
#FF0000
- HEX
- #FF0000
- RGB
- rgb(255, 0, 0)
- HSL
- hsl(0, 100%, 50%)
- HSV
- hsv(0, 100%, 100%)
- CMYKapproximation
- cmyk(0%, 100%, 100%, 0%)
- CSS name
- red
Open red in the color picker to adjust it or copy other formats.
About red
#FF0000 is the CSS named color red: the red channel at 255 and green and blue at 0. It is the most saturated red an sRGB screen can display and the reference point for hue 0° on the color wheel.
Pure red is surprisingly weak as text on white: its contrast ratio is just under 4:1, below the 4.5:1 that WCAG AA asks for normal-size text. Error messages and warnings therefore usually use a darker red.
#FF0000 is the value of the CSS named color red, defined in the CSS Color specification and identical in every browser.
Other colors called red
- Firebrick (CSS)
#B22222A darker red that is readable as text on white. - Crimson (CSS)
#DC143CA red with a hint of blue, slightly deeper than pure red.
Red shades and tints
Shades mix red with black, tints mix it with white — useful for hover states, borders and backgrounds. Click a swatch to copy its HEX code.
Colors that go with red
Color harmonies based on the hue of #FF0000: its complement on the opposite side of the color wheel, its analogous neighbours and its triadic partners.
Red contrast and readability
On a red background, black text reads best (5.25:1). Here is how red works as a text color:
#FF0000 on white
3.99:1
Normal text sample
Large text
- AA normal text (4.5:1)Fail
- AA large text (3:1)Pass
- AAA normal text (7:1)Fail
- AAA large text (4.5:1)Fail
#FF0000 on black
5.25:1
Normal text sample
Large text
- AA normal text (4.5:1)Pass
- AA large text (3:1)Pass
- AAA normal text (7:1)Fail
- AAA large text (4.5:1)Pass
For readable red text on white, darken it — firebrick (#B22222) or darkred (#8B0000) pass WCAG AA. Keep #FF0000 for large headlines, icons, badges or backgrounds with white or black text on top.
Using red in CSS and HTML
:root {
--color-red: #FF0000;
}
.highlight {
background-color: var(--color-red);
}.banner {
background-color: red;
color: #000000;
}
.label {
color: #FF0000;
border: 2px solid rgb(255, 0, 0);
}<p style="background-color: #FF0000; color: #000000;">
Red background
</p>Red color FAQ
- What is the HEX code for red?
- Red is #FF0000 in HEX and rgb(255, 0, 0) in RGB. It is also the CSS named color red, so color: red and color: #ff0000 give exactly the same result.
- What is red in CMYK?
- Approximately 0%, 100%, 100%, 0% (cyan, magenta, yellow, black). This is the standard profile-free conversion of #FF0000; for professional print, check the value against your printer's color profile.
- What colors go with red?
- Its complementary color is #00FFFF, and #FF0080 and #FF8000 sit next to it on the color wheel as analogous colors. White, black and gray always work as neutral partners; the matching colors above show more combinations.
- Should I use black or white text on red?
- Black text: it has a contrast ratio of 5.25:1 on #FF0000, which meets WCAG AA for normal text.