#D31039

Closest named color: Cherry (#CF0234). oklch(55.3% 0.216 20), rgb(211, 16, 57).

Aa

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

About this color

#D31039 is a medium-dark, vivid red. In OKLCH its lightness is 55%, its chroma 0.216 and its hue 20°. Its hue sits on the warm side of the wheel. The nearest named color is Cherry (#CF0234), ΔE 0.012 away. White text reads best on it, at 5.38:1.

Hue familyReds
Lightnessmedium-dark (55%)
Chromavivid (0.216)
Temperaturewarm
Nearest nameCherry (#CF0234)
Black text3.90:1
White text5.38:1

Values

HEX#D31039
RGBrgb(211, 16, 57)
HSLhsl(347, 86%, 45%)
OKLCHoklch(55.3% 0.216 20)

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 #D31039 5.38:1 AA Lc -79.9 Fine for body text
Black text on #D31039 3.90:1 AA large text Lc 29.6 Dividers and decoration only
#D31039 text on white 5.38:1 AA Lc 74.4 Content text, not long reading
#D31039 text on black 3.90:1 AA large text Lc -27.3 Dividers and decoration only

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

    #FEF2F2

    oklch(97.1% 0.013 17.4)

  2. Step 100

    100

    #FCE3E2

    oklch(93.6% 0.028 20.4)

  3. Step 200

    200

    #FBCCCA

    oklch(88.5% 0.054 21.1)

  4. Step 300

    300

    #F9A7A7

    oklch(80.8% 0.097 19.4)

  5. Step 400

    400

    #F27478

    oklch(70.8% 0.155 19.9)

  6. Step 500

    500

    #E94655

    oklch(63.1% 0.199 20)

  7. Step 600

    600 (this color)

    #D31039

    oklch(55.3% 0.216 20)

  8. Step 700

    700

    #B6002E

    oklch(49.1% 0.197 19.8)

  9. Step 800

    800

    #950926

    oklch(42.8% 0.166 19.8)

  10. Step 900

    900

    #771723

    oklch(37.6% 0.129 19.8)

  11. Step 950

    950

    #461015

    oklch(26.9% 0.082 19.5)

Export this scale for Tailwind in the Tailwind colors tool

#D31039 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)#5751390.241
Deuteranopia (no green cones)#8578320.218
Tritanopia (no blue cones)#E800260.045
Achromatopsia (no color)#6A6A6A0.218

Harmonies

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

Complementary

The opposite hue (180°).

  • #D31039

    #D31039

    oklch(55.3% 0.216 20)

  • #008288

    #008288

    oklch(55.2% 0.094 200.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D31039

    #D31039

    oklch(55.3% 0.216 20)

  • #C51C84

    #C51C84

    oklch(55.3% 0.216 349.8)

  • #B35200

    #B35200

    oklch(55.2% 0.147 49.7)

Open the analogous palette in the generator

Split complementary

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

  • #D31039

    #D31039

    oklch(55.3% 0.216 20)

  • #008668

    #008668

    oklch(55.1% 0.109 169.9)

  • #007DA6

    #007DA6

    oklch(55.2% 0.11 230.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D31039

    #D31039

    oklch(55.3% 0.216 20)

  • #288900

    #288900

    oklch(55.2% 0.178 140)

  • #0D68ED

    #0D68ED

    oklch(55.3% 0.215 259.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D31039

    #D31039

    oklch(55.3% 0.216 20)

  • #777800

    #777800

    oklch(55.3% 0.121 110.4)

  • #008288

    #008288

    oklch(55.2% 0.094 200.5)

  • #774DE4

    #774DE4

    oklch(55.2% 0.216 290.3)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #D31039.

Similar named colors

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

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