#E31D23

Closest named color: Crimson (#DC143C). oklch(58.5% 0.226 27), rgb(227, 29, 35).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (58%)
Chromavivid (0.226)
Temperaturewarm
Nearest nameCrimson (#DC143C)
Black text4.46:1
White text4.70:1

Values

HEX#E31D23
RGBrgb(227, 29, 35)
HSLhsl(358, 78%, 50%)
OKLCHoklch(58.5% 0.226 27)

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 #E31D23 4.70:1 AA Lc -75.9 Fine for body text
Black text on #E31D23 4.46:1 AA large text Lc 33.7 Non-text elements, placeholder text
#E31D23 text on white 4.70:1 AA Lc 70.4 Content text, not long reading
#E31D23 text on black 4.46:1 AA large text Lc -31.2 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

    #FFF2F0

    oklch(97.1% 0.014 28)

  2. Step 100

    100

    #FDE3DF

    oklch(93.6% 0.029 28.1)

  3. Step 200

    200

    #FDCCC5

    oklch(88.6% 0.057 27.7)

  4. Step 300

    300

    #FCA79D

    oklch(80.9% 0.102 26.9)

  5. Step 400

    400

    #F57367

    oklch(70.7% 0.162 27.3)

  6. Step 500

    500

    #ED433D

    oklch(63.2% 0.208 27)

  7. Step 600

    600 (this color)

    #E31D23

    oklch(58.5% 0.226 27)

  8. Step 700

    700

    #B70012

    oklch(49% 0.2 27)

  9. Step 800

    800

    #98000D

    oklch(42.8% 0.174 27)

  10. Step 900

    900

    #7A1514

    oklch(37.8% 0.136 27.1)

  11. Step 950

    950

    #480F0D

    oklch(27% 0.087 26.8)

Export this scale for Tailwind in the Tailwind colors tool

#E31D23 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)#6459200.247
Deuteranopia (no green cones)#9282150.223
Tritanopia (no blue cones)#FB00240.046
Achromatopsia (no color)#7474740.227

Harmonies

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

Complementary

The opposite hue (180°).

  • #E31D23

    #E31D23

    oklch(58.5% 0.226 27)

  • #008C9A

    #008C9A

    oklch(58.5% 0.1 207.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E31D23

    #E31D23

    oklch(58.5% 0.226 27)

  • #D91C7D

    #D91C7D

    oklch(58.5% 0.226 357.2)

  • #B86200

    #B86200

    oklch(58.5% 0.141 57.4)

Open the analogous palette in the generator

Split complementary

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

  • #E31D23

    #E31D23

    oklch(58.5% 0.226 27)

  • #00907B

    #00907B

    oklch(58.4% 0.108 177.6)

  • #0085BD

    #0085BD

    oklch(58.4% 0.127 237)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #E31D23

    #E31D23

    oklch(58.5% 0.226 27)

  • #009535

    #009535

    oklch(58.4% 0.173 147)

  • #406AFF

    #406AFF

    oklch(58.5% 0.226 267)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #E31D23

    #E31D23

    oklch(58.5% 0.226 27)

  • #778500

    #778500

    oklch(58.5% 0.135 116.9)

  • #008C9A

    #008C9A

    oklch(58.5% 0.1 207.2)

  • #8E4FEE

    #8E4FEE

    oklch(58.5% 0.226 297)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #E31D23 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.