#DF171C

Closest named color: Crimson (#DC143C). oklch(57.5% 0.226 27.6), rgb(223, 23, 28).

Aa

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

About this color

#DF171C is a medium-dark, vivid red. In OKLCH its lightness is 57%, its chroma 0.226 and its hue 28°. Its hue sits on the warm side of the wheel. The nearest named color is Crimson (#DC143C), ΔE 0.030 away. White text reads best on it, at 4.91:1.

Hue familyReds
Lightnessmedium-dark (57%)
Chromavivid (0.226)
Temperaturewarm
Nearest nameCrimson (#DC143C)
Black text4.27:1
White text4.91:1

Values

HEX#DF171C
RGBrgb(223, 23, 28)
HSLhsl(358, 81%, 48%)
OKLCHoklch(57.5% 0.226 27.6)

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 #DF171C 4.91:1 AA Lc -77.1 Fine for body text
Black text on #DF171C 4.27:1 AA large text Lc 32.4 Non-text elements, placeholder text
#DF171C text on white 4.91:1 AA Lc 71.7 Content text, not long reading
#DF171C text on black 4.27:1 AA large text Lc -30.0 Non-text elements, placeholder text

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

    #FFF2F0

    oklch(97.1% 0.014 28)

  2. Step 100

    100

    #FDE3DF

    oklch(93.6% 0.029 28.1)

  3. Step 200

    200

    #FCCCC5

    oklch(88.5% 0.056 27.9)

  4. Step 300

    300

    #FBA79C

    oklch(80.8% 0.101 27.7)

  5. Step 400

    400

    #F57366

    oklch(70.7% 0.162 27.7)

  6. Step 500

    500

    #ED433B

    oklch(63.1% 0.208 27.6)

  7. Step 600

    600 (this color)

    #DF171C

    oklch(57.5% 0.226 27.6)

  8. Step 700

    700

    #B7000E

    oklch(49% 0.2 27.6)

  9. Step 800

    800

    #98010A

    oklch(42.8% 0.174 27.6)

  10. Step 900

    900

    #7A1513

    oklch(37.8% 0.136 27.5)

  11. Step 950

    950

    #48100C

    oklch(27.1% 0.086 28.3)

Export this scale for Tailwind in the Tailwind colors tool

#DF171C 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)#6156180.247
Deuteranopia (no green cones)#8F7F0A0.223
Tritanopia (no blue cones)#F6001E0.045
Achromatopsia (no color)#7171710.227

Harmonies

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

Complementary

The opposite hue (180°).

  • #DF171C

    #DF171C

    oklch(57.5% 0.226 27.6)

  • #008897

    #008897

    oklch(57.3% 0.099 208.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DF171C

    #DF171C

    oklch(57.5% 0.226 27.6)

  • #D61579

    #D61579

    oklch(57.5% 0.226 357.7)

  • #B36000

    #B36000

    oklch(57.5% 0.138 58)

Open the analogous palette in the generator

Split complementary

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

  • #DF171C

    #DF171C

    oklch(57.5% 0.226 27.6)

  • #008D78

    #008D78

    oklch(57.5% 0.106 177.2)

  • #0082BA

    #0082BA

    oklch(57.5% 0.127 237.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DF171C

    #DF171C

    oklch(57.5% 0.226 27.6)

  • #009237

    #009237

    oklch(57.5% 0.168 147.6)

  • #4066FB

    #4066FB

    oklch(57.4% 0.226 267.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DF171C

    #DF171C

    oklch(57.5% 0.226 27.6)

  • #738200

    #738200

    oklch(57.4% 0.133 117.5)

  • #008897

    #008897

    oklch(57.3% 0.099 208.4)

  • #8C4BE9

    #8C4BE9

    oklch(57.4% 0.225 297.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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