#D0171D

Closest named color: Cherry (#CF0234). oklch(54.6% 0.213 27.2), rgb(208, 23, 29).

Aa

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

About this color

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

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

Values

HEX#D0171D
RGBrgb(208, 23, 29)
HSLhsl(358, 80%, 45%)
OKLCHoklch(54.6% 0.213 27.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 #D0171D 5.49:1 AA Lc -80.6 Fine for body text
Black text on #D0171D 3.82:1 AA large text Lc 28.9 Dividers and decoration only
#D0171D text on white 5.49:1 AA Lc 75.2 Fine for body text
#D0171D text on black 3.82:1 AA large text Lc -26.5 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

    #FBCDC6

    oklch(88.6% 0.053 28.3)

  4. Step 300

    300

    #F8A99F

    oklch(80.9% 0.095 27.3)

  5. Step 400

    400

    #F1766B

    oklch(70.7% 0.154 26.9)

  6. Step 500

    500

    #E84A42

    oklch(63.1% 0.196 27.2)

  7. Step 600

    600 (this color)

    #D0171D

    oklch(54.6% 0.213 27.2)

  8. Step 700

    700

    #B70513

    oklch(49.2% 0.198 27.1)

  9. Step 800

    800

    #941013

    oklch(42.6% 0.164 27.2)

  10. Step 900

    900

    #771A17

    oklch(37.7% 0.128 27.3)

  11. Step 950

    950

    #46120F

    oklch(27% 0.08 27.1)

Export this scale for Tailwind in the Tailwind colors tool

#D0171D 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)#5A501A0.233
Deuteranopia (no green cones)#85770F0.212
Tritanopia (no blue cones)#E6001E0.043
Achromatopsia (no color)#6969690.214

Harmonies

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

Complementary

The opposite hue (180°).

  • #D0171D

    #D0171D

    oklch(54.6% 0.213 27.2)

  • #007F8C

    #007F8C

    oklch(54.5% 0.094 207.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D0171D

    #D0171D

    oklch(54.6% 0.213 27.2)

  • #C71672

    #C71672

    oklch(54.7% 0.213 357.1)

  • #A85900

    #A85900

    oklch(54.7% 0.132 57.5)

Open the analogous palette in the generator

Split complementary

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

  • #D0171D

    #D0171D

    oklch(54.6% 0.213 27.2)

  • #008370

    #008370

    oklch(54.6% 0.101 177.8)

  • #0079AD

    #0079AD

    oklch(54.6% 0.12 237.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D0171D

    #D0171D

    oklch(54.6% 0.213 27.2)

  • #008831

    #008831

    oklch(54.6% 0.161 147.3)

  • #3A60EA

    #3A60EA

    oklch(54.7% 0.213 267.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D0171D

    #D0171D

    oklch(54.6% 0.213 27.2)

  • #6C7900

    #6C7900

    oklch(54.6% 0.126 117)

  • #007F8C

    #007F8C

    oklch(54.5% 0.094 207.3)

  • #8247DA

    #8247DA

    oklch(54.7% 0.212 297.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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