Red Hex Codes: 30 Shades of Red With RGB Values

Featured graphic for “Red Hex Codes” showing color swatches and codes

The red hex code is #FF0000: pure red, with the red channel at its maximum and no green or blue. It is the CSS color named red.

Pure red is also one of the trickiest colors to use well. It is extremely bright, it signals errors and danger, and it sits awkwardly on the line for text contrast. This guide gives you every code for #FF0000, 30 red shades grouped by undertone, and practical advice on choosing a red that works for buttons, alerts and branding.

Red color codes

FormatValue
HEX#FF0000
RGBrgb(255, 0, 0)
HSLhsl(0, 100%, 50%)
CMYK (approx.)0, 100, 100, 0
CSS namered

Red is a primary color on screens (RGB). In print, red is made from magenta and yellow ink, and a pure screen red usually can’t be matched exactly in CMYK, so printed reds look slightly duller.

30 shades of red

Official CSS reds

NameHexText on it
Red#FF0000Dark (4.72:1) — white 4.00:1
Crimson#DC143CWhite (4.99:1)
FireBrick#B22222White (6.68:1)
DarkRed#8B0000White (10.01:1)
IndianRed#CD5C5CDark (4.75:1)
Tomato#FF6347Dark (6.41:1)
OrangeRed#FF4500Dark (5.49:1)
LightCoral#F08080Dark (7.29:1)
Salmon#FA8072Dark (7.55:1)

Bright reds

HexRGBText on it
#E60000230, 0, 0White (4.81:1)
#E21219226, 18, 25White (4.85:1)
#DA0B1D218, 11, 29White (5.19:1)
#EE2B2B238, 43, 43Dark (4.51:1)
#F2140D242, 20, 13Dark (4.39:1) — large text only

Warm (orange-leaning) reds

HexRGBText on it
#BB281B187, 40, 27White (6.12:1)
#D43211212, 50, 17White (4.93:1)
#E84330232, 67, 48Dark (4.74:1)
#F22B0D242, 43, 13Dark (4.61:1)
#E9380C233, 56, 12Dark (4.53:1)

Cool (crimson-leaning) reds

HexRGBText on it
#A51D28165, 29, 40White (7.48:1)
#B81435184, 20, 53White (6.58:1)
#C6103E198, 16, 62White (5.92:1)
#D41132212, 17, 50White (5.35:1)
#DF2039223, 32, 57White (4.77:1)

Light reds and corals

HexRGBText on it
#EDABAB237, 171, 171Dark (9.90:1)
#EF8F97239, 143, 151Dark (8.13:1)
#F18E7E241, 142, 126Dark (8.01:1)
#EA8696234, 134, 150Dark (7.51:1)
#F07575240, 117, 117Dark (6.75:1)
#F2675A242, 103, 90Dark (6.17:1)

For deep reds such as maroon and burgundy, see their dedicated guides.

Red in web design

Red buttons and text contrast

Pure red is a contrast trap. White text on #FF0000 scores only 4.00:1, just below the 4.5:1 WCAG asks for normal text, and near-black on red scores 4.72:1. For a red button with white text, choose a slightly deeper red:

Button redWhite textVerdict
#FF00004.00:1Large text only
#DC143C (Crimson)4.99:1Passes
#C8102E5.88:1Passes
#B22222 (FireBrick)6.68:1Passes comfortably

Error messages

Red is the standard color for errors, but color alone isn’t enough: people with red-green color vision deficiencies can find red hard to tell apart from green or brown. Always add an icon and a clear text label. A pale red background (#FDF2F2) with dark red text (#9B1C1C, 7.44:1) makes a readable error box.

Red as a brand or accent color

Red grabs attention, so use it sparingly: one call to action, a sale badge, a key icon. On dark backgrounds, a lighter coral-red such as #FF5A5F (5.70:1 on #1A1A1A) stays readable.

Red is the warmest of the warm colors; our warm vs cool guide explains how it shifts the mood of a palette.

Common mistakes with red

  1. White text on pure red. 4.00:1 fails for normal text. Fix: use #DC143C or darker.
  2. Red as the only error signal. Fix: add an icon and a text label.
  3. Too much red. Everything looks urgent. Fix: reserve red for the most important action or alert.
  4. Red next to green for status. Hard to distinguish for many people. Fix: use red and blue, plus icons.
  5. Expecting pure screen red in print. Fix: ask for a print proof.

FAQ

What is the hex code for red?

The CSS color red is #FF0000, which is rgb(255, 0, 0).

What is the hex code for dark red?

CSS DarkRed is #8B0000. FireBrick (#B22222) is a medium-dark red.

What is the hex code for crimson?

CSS Crimson is #DC143C, a cool red with a hint of pink.

Is #FF0000 accessible for text?

Not for normal-size text on white: red on white scores 4.00:1. Use a deeper red such as #C8102E for text.

What is the best red for a button?

One that passes 4.5:1 with white text, such as #DC143C, #C8102E or #B22222.

Choose your red

Use #FF0000 when you need pure red for graphics, a deeper red for buttons and text, a light coral for backgrounds, and always pair error reds with icons and labels.

Scroll to Top