#E31548

Closest named color: Crimson (#DC143C). oklch(58.6% 0.227 17.2), rgb(227, 21, 72).

Aa

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

About this color

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

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

Values

HEX#E31548
RGBrgb(227, 21, 72)
HSLhsl(345, 83%, 49%)
OKLCHoklch(58.6% 0.227 17.2)

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 #E31548 4.70:1 AA Lc -75.8 Fine for body text
Black text on #E31548 4.46:1 AA large text Lc 33.8 Non-text elements, placeholder text
#E31548 text on white 4.70:1 AA Lc 70.3 Content text, not long reading
#E31548 text on black 4.46:1 AA large text Lc -31.3 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

    #FFF2F2

    oklch(97.1% 0.014 17.4)

  2. Step 100

    100

    #FDE2E3

    oklch(93.5% 0.03 15.1)

  3. Step 200

    200

    #FDCBCC

    oklch(88.6% 0.057 16.9)

  4. Step 300

    300

    #FCA6A9

    oklch(81% 0.102 17.3)

  5. Step 400

    400

    #F5707B

    oklch(70.7% 0.163 17.2)

  6. Step 500

    500

    #EC3E59

    oklch(63% 0.209 17.3)

  7. Step 600

    600 (this color)

    #E31548

    oklch(58.6% 0.227 17.2)

  8. Step 700

    700

    #B50035

    oklch(49% 0.196 17.2)

  9. Step 800

    800

    #96002A

    oklch(42.7% 0.171 17.4)

  10. Step 900

    900

    #791226

    oklch(37.6% 0.136 17)

  11. Step 950

    950

    #480E16

    oklch(27% 0.087 17.7)

Export this scale for Tailwind in the Tailwind colors tool

#E31548 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)#5E59480.254
Deuteranopia (no green cones)#8F82420.230
Tritanopia (no blue cones)#FA002F0.051
Achromatopsia (no color)#7474740.229

Harmonies

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

Complementary

The opposite hue (180°).

  • #E31548

    #E31548

    oklch(58.6% 0.227 17.2)

  • #008E91

    #008E91

    oklch(58.7% 0.1 197.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E31548

    #E31548

    oklch(58.6% 0.227 17.2)

  • #D22495

    #D22495

    oklch(58.6% 0.227 347.1)

  • #C65600

    #C65600

    oklch(58.7% 0.162 47.1)

Open the analogous palette in the generator

Split complementary

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

  • #E31548

    #E31548

    oklch(58.6% 0.227 17.2)

  • #00926D

    #00926D

    oklch(58.6% 0.12 167.2)

  • #0089B0

    #0089B0

    oklch(58.7% 0.113 226.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #E31548

    #E31548

    oklch(58.6% 0.227 17.2)

  • #409300

    #409300

    oklch(58.8% 0.179 137.2)

  • #0076F5

    #0076F5

    oklch(58.7% 0.21 257.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #E31548

    #E31548

    oklch(58.6% 0.227 17.2)

  • #858000

    #858000

    oklch(58.5% 0.125 107)

  • #008E91

    #008E91

    oklch(58.7% 0.1 197.4)

  • #7B58F8

    #7B58F8

    oklch(58.7% 0.226 287.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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