Red Color
HEX #FF0000 · rgb(255, 0, 0) · hsl(0, 100%, 50%)
Red color codes
Red is one of the named colors every browser understands. In CSS you can write it as red or #FF0000.
| Format | Value | |
|---|---|---|
| HEX | #FF0000 | |
| RGB | rgb(255, 0, 0) | |
| HSL | hsl(0, 100%, 50%) | |
| CMYK | 0%, 100%, 100%, 0% | |
| CSS name | red |
.example {
color: red;
background-color: #FF0000;
border-color: rgb(255, 0, 0);
}
Colors that go with red
These harmonies keep the same saturation and lightness and rotate the hue around the color wheel.
Tints and shades of red
Tints mix the color with white; shades mix it with black.
Red
Contrast and readability
5.25:1
passes AA
4.00:1
large text only
Use black text on red. Ratios follow the WCAG 2 formula; AA needs 4.5:1 for normal text and 3:1 for large text.
Frequently asked questions
What is the hex code for red?
The hex code for red is #FF0000.
What is the RGB value of red?
Red is rgb(255, 0, 0): 255 red, 0 green and 0 blue on a 0 to 255 scale.
What color goes with red?
Its complementary color is #00FFFF, which is closest to the named color cyan. Analogous and triadic matches are listed on this page.
Should text on red be black or white?
Use black text. The contrast ratio is 5.25:1 with black and 4.00:1 with white. WCAG AA asks for at least 4.5:1 for normal text.
Similar named colors
Pick any other color with the color picker, or browse all named colors.