About red
Pure red: the strongest red a screen can show, with the red channel at full and green and blue switched off. Its hex code is #FF0000, which is rgb(255, 0, 0): 255 red, 0 green and 0 blue on a scale of 0 to 255.
Red is a warm color.
Red tints and shades
Lighter tints (mixed with white) and darker shades (mixed with black) of red. Click any of them to copy its hex code.
Colors that go with red
Complementary
The opposite color on the color wheel, for strong contrast.
Analogous
Neighbors on the color wheel, for a calm, matching look.
Triadic
Three colors evenly spaced around the wheel, for a balanced, lively palette.
Split complementary
The two colors either side of the complement: contrast without clashing.
Text on red
White text
Black text
For readable text, WCAG asks for a contrast ratio of at least 4.5:1 (3:1 for large text). Black text is the better choice on red. Test other combinations with the contrast checker.
Using red in CSS
.element {
color: #FF0000;
background-color: rgb(255 0 0);
border-color: hsl(0 100% 50%);
}
Frequently asked questions
What is the hex code for red?
Red is #FF0000. In RGB it's rgb(255, 0, 0), and in HSL it's hsl(0, 100%, 50%).
What colors go with red?
Its complementary color is #00FFFF, which gives strong contrast. For a softer look, use analogous colors #FF0080 and #FF8000. Red also pairs well with white.
Is red warm or cool?
Red is a warm color.
Should I use white or black text on red?
Use black text. Its contrast ratio on red is 5.25:1, versus 3.99:1 for white.
Similar colors
- Salmon#FA8072rgb(250, 128, 114)
- Crimson#DC143Crgb(220, 20, 60)
- Maroon#800000rgb(128, 0, 0)
- Coral#FF7F50rgb(255, 127, 80)
- Terracotta#E2725Brgb(226, 114, 91)
- Rust#B7410Ergb(183, 65, 14)
See all popular colors · All HTML color names · Open red in the color picker