Red Color Code: Hex #FF0000
The hex code for Red is #FF0000 (the CSS keyword red). Red RGB code: rgb(255, 0, 0). The xkcd color survey gives #E50000 instead, which looks slightly different; both codes are below with their source.
#FF0000Top: the code browsers use#E50000Below: compare edge to edgeRed color codes: each Red hex code in every format
Sources
Properties
- Hex codes
- 2 different ones in 3 color lists; they look slightly different
- Family
- red
- Contrast
- 4.00:1 with white, 5.25:1 with black
- CSS keyword
- red
- Character
- mid-tone, vivid
- Readable text on it
- black (AA)
The word goes back to Old English rēad, once used for shades from purple and crimson to pink, and to the Indo-European root *reudh-, the only color word for which a definite shared Proto-Indo-European root has been found; ruddy, rust, ruby and russet come from the same root. Red shares its hue and full saturation with maroon, dark red and, surprisingly, snow, which is the same hue at 99% lightness. X11 also numbers darker versions of red, and its fourth one, Red4, is exactly the color CSS calls dark red.
A mid-tone, vivid red with a warm cast. In code, red gives exactly this web value. If you mean the color as people usually picture the name, the survey value #E50000 is closer: it is darker and more muted.
Black text reads best on it; white text works only for large headings. Its exact opposite on the color wheel cannot be shown on screens, so the complementary palette uses the closest displayable version. Even pale tints keep its hue, which makes it easy to use for soft backgrounds. Next to Vermilion, its closest named neighbour, it looks about as light, more vivid and warmer; beside Orange Red it looks darker, more vivid and warmer. It is one of the 16 original HTML 4 color names. All three channels are multiples of 51, so it is in the old 216-color web-safe palette.
Colors that go with Red
Complementary: the opposite of Red
#FF0000Black text 5.25:1#009AACBlack text 6.22:1#FF9786Black text 10.02:1#005D69White text 7.58:1
Analogous
#F40084Black text 5.18:1#FF0000Black text 5.25:1#C86E00Black text 5.69:1#FFB5A7Black text 12.42:1
Triadic
#FF0000Black text 5.25:1#00A447Black text 6.40:1#597BFFBlack text 5.70:1#FFD1C8Black text 15.21:1
Monochrome
#480000White text 16.46:1#9E0000White text 8.56:1#FF0000Black text 5.25:1#FF7765Black text 8.08:1#FFB5A7Black text 12.42:1
With neutrals
#FF0000Black text 5.25:1#FFD1C8Black text 15.21:1#220000White text 19.66:1#AC7168Black text 5.32:1
Preview
Heading on Red
Body text on this color, 5.25:1.
ButtonHeading in Red
Text in this color on white, 4.00:1.
ButtonTints and shades
#FFD1C8#FFB5A7#FF9786#FF7765#FF5040#FF0000#CE0000#9E0000#710000#480000#220000
WhiteRedBlack
Similar named colors
Where the name comes from
- Source: Etymonline, “red” (checked 1 Nov 2026)
- Source: Etymonline, “*reudh-” (checked 1 Nov 2026)
- Source: Wikipedia, “X11 color names” (checked 1 Nov 2026)
- Listed in CSS Color 4, xkcd color survey, meodai color-name-list. About these lists.
Try it: