#E31238

Closest named color: Crimson (#DC143C). oklch(58.3% 0.229 21.6), rgb(227, 18, 56).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (58%)
Chromavivid (0.229)
Temperaturewarm
Nearest nameCrimson (#DC143C)
Black text4.40:1
White text4.76:1

Values

HEX#E31238
RGBrgb(227, 18, 56)
HSLhsl(349, 85%, 48%)
OKLCHoklch(58.3% 0.229 21.6)

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 #E31238 4.76:1 AA Lc -76.1 Fine for body text
Black text on #E31238 4.40:1 AA large text Lc 33.5 Non-text elements, placeholder text
#E31238 text on white 4.76:1 AA Lc 70.6 Content text, not long reading
#E31238 text on black 4.40:1 AA large text Lc -31.0 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

    #FDE3E1

    oklch(93.6% 0.029 23)

  3. Step 200

    200

    #FDCBC9

    oklch(88.5% 0.057 21)

  4. Step 300

    300

    #FCA6A3

    oklch(80.9% 0.102 21.8)

  5. Step 400

    400

    #F67072

    oklch(70.7% 0.165 21.3)

  6. Step 500

    500

    #EE3F4D

    oklch(63.2% 0.21 21.6)

  7. Step 600

    600 (this color)

    #E31238

    oklch(58.3% 0.229 21.6)

  8. Step 700

    700

    #B60029

    oklch(49% 0.197 21.4)

  9. Step 800

    800

    #970020

    oklch(42.7% 0.172 21.5)

  10. Step 900

    900

    #7A121E

    oklch(37.7% 0.137 21.7)

  11. Step 950

    950

    #480E12

    oklch(27% 0.087 21.7)

Export this scale for Tailwind in the Tailwind colors tool

#E31238 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)#5F58370.254
Deuteranopia (no green cones)#9081300.229
Tritanopia (no blue cones)#FA00270.047
Achromatopsia (no color)#7373730.230

Harmonies

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

Complementary

The opposite hue (180°).

  • #E31238

    #E31238

    oklch(58.3% 0.229 21.6)

  • #008C94

    #008C94

    oklch(58.3% 0.099 201.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E31238

    #E31238

    oklch(58.3% 0.229 21.6)

  • #D51C8A

    #D51C8A

    oklch(58.2% 0.229 351.5)

  • #BE5B00

    #BE5B00

    oklch(58.2% 0.151 51.5)

Open the analogous palette in the generator

Split complementary

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

  • #E31238

    #E31238

    oklch(58.3% 0.229 21.6)

  • #009073

    #009073

    oklch(58.2% 0.113 171.9)

  • #0086B5

    #0086B5

    oklch(58.2% 0.119 232.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #E31238

    #E31238

    oklch(58.3% 0.229 21.6)

  • #189500

    #189500

    oklch(58.3% 0.194 141.6)

  • #216EFF

    #216EFF

    oklch(58.3% 0.228 261.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #E31238

    #E31238

    oklch(58.3% 0.229 21.6)

  • #7E8200

    #7E8200

    oklch(58.4% 0.129 111.9)

  • #008C94

    #008C94

    oklch(58.3% 0.099 201.9)

  • #8352F4

    #8352F4

    oklch(58.3% 0.229 291.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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