#D31A21

Closest named color: Cherry (#CF0234). oklch(55.4% 0.214 26.8), rgb(211, 26, 33).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (55%)
Chromavivid (0.214)
Temperaturewarm
Nearest nameCherry (#CF0234)
Black text3.93:1
White text5.33:1

Values

HEX#D31A21
RGBrgb(211, 26, 33)
HSLhsl(358, 78%, 46%)
OKLCHoklch(55.4% 0.214 26.8)

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 #D31A21 5.33:1 AA Lc -79.8 Fine for body text
Black text on #D31A21 3.93:1 AA large text Lc 29.7 Dividers and decoration only
#D31A21 text on white 5.33:1 AA Lc 74.4 Content text, not long reading
#D31A21 text on black 3.93:1 AA large text Lc -27.4 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

    #FEF2F1

    oklch(97% 0.013 23.2)

  2. Step 100

    100

    #FCE3E0

    oklch(93.5% 0.028 25.9)

  3. Step 200

    200

    #FBCCC6

    oklch(88.4% 0.054 26.7)

  4. Step 300

    300

    #F9A99F

    oklch(81% 0.096 27.2)

  5. Step 400

    400

    #F1766B

    oklch(70.7% 0.154 26.9)

  6. Step 500

    500

    #E84943

    oklch(63% 0.197 26.6)

  7. Step 600

    600 (this color)

    #D31A21

    oklch(55.4% 0.214 26.8)

  8. Step 700

    700

    #B70314

    oklch(49.1% 0.199 26.8)

  9. Step 800

    800

    #950F14

    oklch(42.8% 0.165 26.8)

  10. Step 900

    900

    #771A18

    oklch(37.7% 0.128 26.8)

  11. Step 950

    950

    #46120F

    oklch(27% 0.08 27.1)

Export this scale for Tailwind in the Tailwind colors tool

#D31A21 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)#5C521E0.234
Deuteranopia (no green cones)#8879150.212
Tritanopia (no blue cones)#E900210.043
Achromatopsia (no color)#6B6B6B0.215

Harmonies

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

Complementary

The opposite hue (180°).

  • #D31A21

    #D31A21

    oklch(55.4% 0.214 26.8)

  • #00828E

    #00828E

    oklch(55.4% 0.095 206.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D31A21

    #D31A21

    oklch(55.4% 0.214 26.8)

  • #CA1A75

    #CA1A75

    oklch(55.5% 0.214 356.8)

  • #AC5A00

    #AC5A00

    oklch(55.4% 0.135 56.6)

Open the analogous palette in the generator

Split complementary

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

  • #D31A21

    #D31A21

    oklch(55.4% 0.214 26.8)

  • #008671

    #008671

    oklch(55.4% 0.103 176.5)

  • #007CB0

    #007CB0

    oklch(55.5% 0.121 236.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D31A21

    #D31A21

    oklch(55.4% 0.214 26.8)

  • #008B2F

    #008B2F

    oklch(55.5% 0.166 146.7)

  • #3A62ED

    #3A62ED

    oklch(55.3% 0.214 266.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D31A21

    #D31A21

    oklch(55.4% 0.214 26.8)

  • #6E7B00

    #6E7B00

    oklch(55.3% 0.127 116.9)

  • #00828E

    #00828E

    oklch(55.4% 0.095 206.2)

  • #8349DD

    #8349DD

    oklch(55.3% 0.213 296.8)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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