#DF172C

Closest named color: Crimson (#DC143C). oklch(57.6% 0.224 24.6), rgb(223, 23, 44).

Aa

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

About this color

#DF172C is a medium-dark, vivid red. In OKLCH its lightness is 58%, its chroma 0.224 and its hue 25°. Its hue sits on the warm side of the wheel. The nearest named color is Crimson (#DC143C), ΔE 0.018 away. White text reads best on it, at 4.88:1.

Hue familyReds
Lightnessmedium-dark (58%)
Chromavivid (0.224)
Temperaturewarm
Nearest nameCrimson (#DC143C)
Black text4.29:1
White text4.88:1

Values

HEX#DF172C
RGBrgb(223, 23, 44)
HSLhsl(354, 81%, 48%)
OKLCHoklch(57.6% 0.224 24.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 #DF172C 4.88:1 AA Lc -77.0 Fine for body text
Black text on #DF172C 4.29:1 AA large text Lc 32.5 Non-text elements, placeholder text
#DF172C text on white 4.88:1 AA Lc 71.6 Content text, not long reading
#DF172C text on black 4.29:1 AA large text Lc -30.1 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

    #FFF2F1

    oklch(97.1% 0.014 22.8)

  2. Step 100

    100

    #FDE3E0

    oklch(93.6% 0.029 25.6)

  3. Step 200

    200

    #FCCCC7

    oklch(88.6% 0.055 25.2)

  4. Step 300

    300

    #FBA7A0

    oklch(80.9% 0.101 24.8)

  5. Step 400

    400

    #F5726D

    oklch(70.7% 0.162 24.3)

  6. Step 500

    500

    #EC4245

    oklch(63% 0.207 24.5)

  7. Step 600

    600 (this color)

    #DF172C

    oklch(57.6% 0.224 24.6)

  8. Step 700

    700

    #B7001E

    oklch(49.1% 0.199 24.5)

  9. Step 800

    800

    #970017

    oklch(42.6% 0.173 24.5)

  10. Step 900

    900

    #791519

    oklch(37.6% 0.134 24.8)

  11. Step 950

    950

    #480F10

    oklch(27% 0.086 24.2)

Export this scale for Tailwind in the Tailwind colors tool

#DF172C 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)#60562A0.247
Deuteranopia (no green cones)#8F7F220.223
Tritanopia (no blue cones)#F600230.045
Achromatopsia (no color)#7171710.226

Harmonies

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

Complementary

The opposite hue (180°).

  • #DF172C

    #DF172C

    oklch(57.6% 0.224 24.6)

  • #008994

    #008994

    oklch(57.5% 0.098 204.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DF172C

    #DF172C

    oklch(57.6% 0.224 24.6)

  • #D41B81

    #D41B81

    oklch(57.7% 0.225 354.6)

  • #B75D00

    #B75D00

    oklch(57.5% 0.143 54.7)

Open the analogous palette in the generator

Split complementary

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

  • #DF172C

    #DF172C

    oklch(57.6% 0.224 24.6)

  • #008E75

    #008E75

    oklch(57.7% 0.109 174.4)

  • #0083B6

    #0083B6

    oklch(57.6% 0.122 234.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DF172C

    #DF172C

    oklch(57.6% 0.224 24.6)

  • #009323

    #009323

    oklch(57.6% 0.183 144.6)

  • #336AFB

    #336AFB

    oklch(57.7% 0.224 264.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DF172C

    #DF172C

    oklch(57.6% 0.224 24.6)

  • #788100

    #788100

    oklch(57.6% 0.13 114.6)

  • #008994

    #008994

    oklch(57.5% 0.098 204.7)

  • #874FEC

    #874FEC

    oklch(57.6% 0.223 294.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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