#E31A28

Closest named color: Crimson (#DC143C). oklch(58.4% 0.227 25.8), rgb(227, 26, 40).

Aa

White text reads best on this color (4.72:1).

About this color

#E31A28 is a medium-dark, vivid red. In OKLCH its lightness is 58%, its chroma 0.227 and its hue 26°. Its hue sits on the warm side of the wheel. The nearest named color is Crimson (#DC143C), ΔE 0.026 away. White text reads best on it, at 4.72:1.

Hue familyReds
Lightnessmedium-dark (58%)
Chromavivid (0.227)
Temperaturewarm
Nearest nameCrimson (#DC143C)
Black text4.44:1
White text4.72:1

Values

HEX#E31A28
RGBrgb(227, 26, 40)
HSLhsl(356, 79%, 50%)
OKLCHoklch(58.4% 0.227 25.8)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #E31A28 4.72:1 AA Lc -76.0 Fine for body text
Black text on #E31A28 4.44:1 AA large text Lc 33.6 Non-text elements, placeholder text
#E31A28 text on white 4.72:1 AA Lc 70.5 Content text, not long reading
#E31A28 text on black 4.44:1 AA large text Lc -31.1 Non-text elements, placeholder text

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 600.

  1. Step 50

    50

    #FFF2F1

    oklch(97.1% 0.014 22.8)

  2. Step 100

    100

    #FDE3E0

    oklch(93.6% 0.029 25.6)

  3. Step 200

    200

    #FDCBC6

    oklch(88.4% 0.057 24.9)

  4. Step 300

    300

    #FCA79E

    oklch(80.9% 0.102 26.2)

  5. Step 400

    400

    #F57269

    oklch(70.6% 0.163 26)

  6. Step 500

    500

    #ED4140

    oklch(63% 0.209 25.8)

  7. Step 600

    600 (this color)

    #E31A28

    oklch(58.4% 0.227 25.8)

  8. Step 700

    700

    #B70018

    oklch(49.1% 0.199 25.9)

  9. Step 800

    800

    #980012

    oklch(42.8% 0.174 25.9)

  10. Step 900

    900

    #7A1416

    oklch(37.7% 0.136 26)

  11. Step 950

    950

    #480F0E

    oklch(27% 0.086 25.9)

Export this scale for Tailwind in the Tailwind colors tool

#E31A28 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#6358250.248
Deuteranopia (no green cones)#92821C0.225
Tritanopia (no blue cones)#FA00240.044
Achromatopsia (no color)#7373730.229

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #E31A28

    #E31A28

    oklch(58.4% 0.227 25.8)

  • #008C98

    #008C98

    oklch(58.4% 0.1 205.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E31A28

    #E31A28

    oklch(58.4% 0.227 25.8)

  • #D81B80

    #D81B80

    oklch(58.3% 0.227 355.8)

  • #B96000

    #B96000

    oklch(58.3% 0.143 55.9)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #E31A28

    #E31A28

    oklch(58.4% 0.227 25.8)

  • #009079

    #009079

    oklch(58.4% 0.109 176.1)

  • #0085BB

    #0085BB

    oklch(58.3% 0.125 236)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #E31A28

    #E31A28

    oklch(58.4% 0.227 25.8)

  • #00952D

    #00952D

    oklch(58.3% 0.179 145.8)

  • #3B6BFF

    #3B6BFF

    oklch(58.5% 0.226 265.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #E31A28

    #E31A28

    oklch(58.4% 0.227 25.8)

  • #788400

    #788400

    oklch(58.3% 0.133 116)

  • #008C98

    #008C98

    oklch(58.4% 0.1 205.4)

  • #8C4FEF

    #8C4FEF

    oklch(58.4% 0.227 296.1)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #E31A28, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #E31A28 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.