#D9170E

Closest named color: Crimson (#DC143C). oklch(56.3% 0.222 29.3), rgb(217, 23, 14).

Aa

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

About this color

#D9170E is a medium-dark, vivid red. In OKLCH its lightness is 56%, its chroma 0.222 and its hue 29°. Its hue sits on the warm side of the wheel. The nearest named color is Crimson (#DC143C), ΔE 0.037 away. White text reads best on it, at 5.14:1.

Hue familyReds
Lightnessmedium-dark (56%)
Chromavivid (0.222)
Temperaturewarm
Nearest nameCrimson (#DC143C)
Black text4.07:1
White text5.14:1

Values

HEX#D9170E
RGBrgb(217, 23, 14)
HSLhsl(3, 88%, 45%)
OKLCHoklch(56.3% 0.222 29.3)

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 #D9170E 5.14:1 AA Lc -78.6 Fine for body text
Black text on #D9170E 4.07:1 AA large text Lc 31.0 Non-text elements, placeholder text
#D9170E text on white 5.14:1 AA Lc 73.1 Content text, not long reading
#D9170E text on black 4.07:1 AA large text Lc -28.6 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

    #FDE3DF

    oklch(93.6% 0.029 28.1)

  3. Step 200

    200

    #FCCCC4

    oklch(88.5% 0.056 29.2)

  4. Step 300

    300

    #FAA89B

    oklch(80.8% 0.099 29.3)

  5. Step 400

    400

    #F47564

    oklch(70.8% 0.159 29.4)

  6. Step 500

    500

    #EB4637

    oklch(63.1% 0.204 29.2)

  7. Step 600

    600 (this color)

    #D9170E

    oklch(56.3% 0.222 29.3)

  8. Step 700

    700

    #B80200

    oklch(49.2% 0.201 29.4)

  9. Step 800

    800

    #960804

    oklch(42.6% 0.17 29.3)

  10. Step 900

    900

    #791710

    oklch(37.7% 0.134 29.2)

  11. Step 950

    950

    #47110B

    oklch(27% 0.084 29.8)

Export this scale for Tailwind in the Tailwind colors tool

#D9170E 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)#5F53050.242
Deuteranopia (no green cones)#8C7C000.216
Tritanopia (no blue cones)#F0001A0.046
Achromatopsia (no color)#6D6D6D0.223

Harmonies

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

Complementary

The opposite hue (180°).

  • #D9170E

    #D9170E

    oklch(56.3% 0.222 29.3)

  • #008494

    #008494

    oklch(56.2% 0.097 209.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D9170E

    #D9170E

    oklch(56.3% 0.222 29.3)

  • #D11171

    #D11171

    oklch(56.2% 0.222 359.5)

  • #AC5E00

    #AC5E00

    oklch(56.1% 0.133 59.3)

Open the analogous palette in the generator

Split complementary

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

  • #D9170E

    #D9170E

    oklch(56.3% 0.222 29.3)

  • #008877

    #008877

    oklch(56.2% 0.102 179.9)

  • #007DB7

    #007DB7

    oklch(56.2% 0.127 239.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D9170E

    #D9170E

    oklch(56.3% 0.222 29.3)

  • #008D3D

    #008D3D

    oklch(56.2% 0.157 149.4)

  • #4561F5

    #4561F5

    oklch(56.3% 0.222 269.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D9170E

    #D9170E

    oklch(56.3% 0.222 29.3)

  • #6D7F00

    #6D7F00

    oklch(56.2% 0.132 119.1)

  • #008494

    #008494

    oklch(56.2% 0.097 209.6)

  • #8B47E1

    #8B47E1

    oklch(56.2% 0.221 299.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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