Red color — #FF0000
Red is a CSS named color with the HEX code #FF0000, RGB value rgb(255, 0, 0) and HSL value hsl(0, 100%, 50%).
Red
Red
#FF0000
Color codes
- HEX
- #FF0000
- RGB
- rgb(255, 0, 0)
- HSL
- hsl(0, 100%, 50%)
- HSV
- hsv(0, 100%, 100%)
- CMYK
- cmyk(0%, 100%, 100%, 0%)
- OKLCH
- oklch(62.8% 0.2577 29.23)
CSS usage
In CSS you can use the keyword or any equivalent value:
.element {
color: red;
background-color: #ff0000;
border-color: rgb(255, 0, 0);
outline-color: hsl(0, 100%, 50%);
}Shades
Tints
Color harmonies
Complementary
Analogous
Triadic
Split complementary
Contrast ratio
Contrast ratio against white and black text, per WCAG 2.2.
Red — On white3.99:1 · AA Large
Red — On black5.25:1 · AA