#D31B28

Closest named color: Cherry (#CF0234). oklch(55.5% 0.213 25.4), rgb(211, 27, 40).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (55%)
Chromavivid (0.213)
Temperaturewarm
Nearest nameCherry (#CF0234)
Black text3.95:1
White text5.30:1

Values

HEX#D31B28
RGBrgb(211, 27, 40)
HSLhsl(356, 77%, 47%)
OKLCHoklch(55.5% 0.213 25.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 #D31B28 5.30:1 AA Lc -79.7 Fine for body text
Black text on #D31B28 3.95:1 AA large text Lc 29.8 Dividers and decoration only
#D31B28 text on white 5.30:1 AA Lc 74.3 Content text, not long reading
#D31B28 text on black 3.95: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

    #FBCCC7

    oklch(88.5% 0.054 25.3)

  4. Step 300

    300

    #F9A9A1

    oklch(81% 0.096 25.7)

  5. Step 400

    400

    #F1766E

    oklch(70.7% 0.153 25.5)

  6. Step 500

    500

    #E84947

    oklch(63.1% 0.196 25.4)

  7. Step 600

    600 (this color)

    #D31B28

    oklch(55.5% 0.213 25.4)

  8. Step 700

    700

    #B7031B

    oklch(49.2% 0.198 25.4)

  9. Step 800

    800

    #940F19

    oklch(42.6% 0.164 25.3)

  10. Step 900

    900

    #771A1B

    oklch(37.7% 0.127 25.3)

  11. Step 950

    950

    #461210

    oklch(27% 0.08 26.2)

Export this scale for Tailwind in the Tailwind colors tool

#D31B28 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)#5C52260.233
Deuteranopia (no green cones)#87791E0.212
Tritanopia (no blue cones)#E900230.042
Achromatopsia (no color)#6B6B6B0.214

Harmonies

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

Complementary

The opposite hue (180°).

  • #D31B28

    #D31B28

    oklch(55.5% 0.213 25.4)

  • #00828E

    #00828E

    oklch(55.4% 0.095 206.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D31B28

    #D31B28

    oklch(55.5% 0.213 25.4)

  • #C91D78

    #C91D78

    oklch(55.5% 0.213 355.6)

  • #AE5900

    #AE5900

    oklch(55.6% 0.137 55.3)

Open the analogous palette in the generator

Split complementary

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

  • #D31B28

    #D31B28

    oklch(55.5% 0.213 25.4)

  • #008670

    #008670

    oklch(55.4% 0.104 175.7)

  • #007CAE

    #007CAE

    oklch(55.4% 0.119 235.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D31B28

    #D31B28

    oklch(55.5% 0.213 25.4)

  • #008B27

    #008B27

    oklch(55.4% 0.172 145.5)

  • #3564ED

    #3564ED

    oklch(55.5% 0.213 265.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D31B28

    #D31B28

    oklch(55.5% 0.213 25.4)

  • #717B00

    #717B00

    oklch(55.5% 0.126 115.3)

  • #00828E

    #00828E

    oklch(55.4% 0.095 206.2)

  • #814BDF

    #814BDF

    oklch(55.5% 0.213 295.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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