#D31C15

Closest named color: Cherry (#CF0234). oklch(55.4% 0.214 29), rgb(211, 28, 21).

Aa

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

About this color

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

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

Values

HEX#D31C15
RGBrgb(211, 28, 21)
HSLhsl(2, 82%, 45%)
OKLCHoklch(55.4% 0.214 29)

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 #D31C15 5.32:1 AA Lc -79.7 Fine for body text
Black text on #D31C15 3.94:1 AA large text Lc 29.8 Dividers and decoration only
#D31C15 text on white 5.32:1 AA Lc 74.3 Content text, not long reading
#D31C15 text on black 3.94: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

    #FEF2F0

    oklch(97% 0.013 28.9)

  2. Step 100

    100

    #FCE3DF

    oklch(93.5% 0.028 28.5)

  3. Step 200

    200

    #FBCDC5

    oklch(88.6% 0.054 29.6)

  4. Step 300

    300

    #F9A99D

    oklch(80.9% 0.097 28.8)

  5. Step 400

    400

    #F17667

    oklch(70.6% 0.154 28.7)

  6. Step 500

    500

    #E84A3C

    oklch(63% 0.197 28.9)

  7. Step 600

    600 (this color)

    #D31C15

    oklch(55.4% 0.214 29)

  8. Step 700

    700

    #B70505

    oklch(49.1% 0.199 29)

  9. Step 800

    800

    #94110B

    oklch(42.6% 0.164 29.1)

  10. Step 900

    900

    #771A13

    oklch(37.6% 0.129 29)

  11. Step 950

    950

    #46120D

    oklch(27% 0.081 29)

Export this scale for Tailwind in the Tailwind colors tool

#D31C15 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)#5D520F0.233
Deuteranopia (no green cones)#8879000.211
Tritanopia (no blue cones)#E9001F0.044
Achromatopsia (no color)#6B6B6B0.216

Harmonies

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

Complementary

The opposite hue (180°).

  • #D31C15

    #D31C15

    oklch(55.4% 0.214 29)

  • #008291

    #008291

    oklch(55.5% 0.096 208.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D31C15

    #D31C15

    oklch(55.4% 0.214 29)

  • #CB1870

    #CB1870

    oklch(55.4% 0.214 358.9)

  • #A95C00

    #A95C00

    oklch(55.4% 0.131 59.1)

Open the analogous palette in the generator

Split complementary

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

  • #D31C15

    #D31C15

    oklch(55.4% 0.214 29)

  • #008674

    #008674

    oklch(55.5% 0.101 178.9)

  • #007BB3

    #007BB3

    oklch(55.4% 0.125 238.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D31C15

    #D31C15

    oklch(55.4% 0.214 29)

  • #008A3A

    #008A3A

    oklch(55.3% 0.156 149)

  • #4260ED

    #4260ED

    oklch(55.3% 0.214 269)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D31C15

    #D31C15

    oklch(55.4% 0.214 29)

  • #6B7C00

    #6B7C00

    oklch(55.3% 0.13 118.8)

  • #008291

    #008291

    oklch(55.5% 0.096 208.9)

  • #8747DB

    #8747DB

    oklch(55.3% 0.214 299)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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