#E31431

Closest named color: Crimson (#DC143C). oklch(58.3% 0.228 23.4), rgb(227, 20, 49).

Aa

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

About this color

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

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

Values

HEX#E31431
RGBrgb(227, 20, 49)
HSLhsl(352, 84%, 48%)
OKLCHoklch(58.3% 0.228 23.4)

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

    #FDE3E0

    oklch(93.6% 0.029 25.6)

  3. Step 200

    200

    #FDCBC7

    oklch(88.5% 0.057 23.6)

  4. Step 300

    300

    #FCA6A1

    oklch(80.8% 0.103 23.2)

  5. Step 400

    400

    #F6716E

    oklch(70.7% 0.164 23.5)

  6. Step 500

    500

    #EE3F47

    oklch(63.1% 0.211 23.4)

  7. Step 600

    600 (this color)

    #E31431

    oklch(58.3% 0.228 23.4)

  8. Step 700

    700

    #B70022

    oklch(49.2% 0.199 23.5)

  9. Step 800

    800

    #97001A

    oklch(42.7% 0.172 23.6)

  10. Step 900

    900

    #7A121B

    oklch(37.6% 0.137 23.2)

  11. Step 950

    950

    #480E10

    oklch(26.9% 0.087 23.5)

Export this scale for Tailwind in the Tailwind colors tool

#E31431 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)#6058300.253
Deuteranopia (no green cones)#9181280.227
Tritanopia (no blue cones)#FA00240.045
Achromatopsia (no color)#7373730.230

Harmonies

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

Complementary

The opposite hue (180°).

  • #E31431

    #E31431

    oklch(58.3% 0.228 23.4)

  • #008C96

    #008C96

    oklch(58.3% 0.099 203.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E31431

    #E31431

    oklch(58.3% 0.228 23.4)

  • #D71B86

    #D71B86

    oklch(58.4% 0.229 353.4)

  • #BC5D00

    #BC5D00

    oklch(58.3% 0.148 53.2)

Open the analogous palette in the generator

Split complementary

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

  • #E31431

    #E31431

    oklch(58.3% 0.228 23.4)

  • #009075

    #009075

    oklch(58.3% 0.112 173.3)

  • #0086B7

    #0086B7

    oklch(58.4% 0.121 233.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #E31431

    #E31431

    oklch(58.3% 0.228 23.4)

  • #009616

    #009616

    oklch(58.4% 0.193 143.5)

  • #2E6CFF

    #2E6CFF

    oklch(58.2% 0.228 263.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #E31431

    #E31431

    oklch(58.3% 0.228 23.4)

  • #7C8300

    #7C8300

    oklch(58.4% 0.131 113.5)

  • #008C96

    #008C96

    oklch(58.3% 0.099 203.7)

  • #8751F2

    #8751F2

    oklch(58.4% 0.228 293.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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