#DD172A

Closest named color: Crimson (#DC143C). oklch(57.2% 0.223 25), rgb(221, 23, 42).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (57%)
Chromavivid (0.223)
Temperaturewarm
Nearest nameCrimson (#DC143C)
Black text4.23:1
White text4.96:1

Values

HEX#DD172A
RGBrgb(221, 23, 42)
HSLhsl(354, 81%, 48%)
OKLCHoklch(57.2% 0.223 25)

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 #DD172A 4.96:1 AA Lc -77.5 Fine for body text
Black text on #DD172A 4.23:1 AA large text Lc 32.0 Non-text elements, placeholder text
#DD172A text on white 4.96:1 AA Lc 72.1 Content text, not long reading
#DD172A text on black 4.23:1 AA large text Lc -29.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

    #FEF2F1

    oklch(97% 0.013 23.2)

  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

    #F4736C

    oklch(70.7% 0.16 25.1)

  6. Step 500

    500

    #EC4445

    oklch(63.2% 0.205 25)

  7. Step 600

    600 (this color)

    #DD172A

    oklch(57.2% 0.223 25)

  8. Step 700

    700

    #B7001C

    oklch(49.1% 0.199 25)

  9. Step 800

    800

    #970316

    oklch(42.7% 0.172 25.1)

  10. Step 900

    900

    #791619

    oklch(37.7% 0.133 25.1)

  11. Step 950

    950

    #471010

    oklch(27% 0.084 24.7)

Export this scale for Tailwind in the Tailwind colors tool

#DD172A 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)#5F55280.245
Deuteranopia (no green cones)#8D7E200.222
Tritanopia (no blue cones)#F400220.045
Achromatopsia (no color)#7070700.224

Harmonies

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

Complementary

The opposite hue (180°).

  • #DD172A

    #DD172A

    oklch(57.2% 0.223 25)

  • #008893

    #008893

    oklch(57.2% 0.098 204.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DD172A

    #DD172A

    oklch(57.2% 0.223 25)

  • #D21A7F

    #D21A7F

    oklch(57.2% 0.223 354.8)

  • #B55C00

    #B55C00

    oklch(57.1% 0.142 54.8)

Open the analogous palette in the generator

Split complementary

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

  • #DD172A

    #DD172A

    oklch(57.2% 0.223 25)

  • #008C74

    #008C74

    oklch(57.1% 0.108 174.9)

  • #0082B5

    #0082B5

    oklch(57.3% 0.121 235)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DD172A

    #DD172A

    oklch(57.2% 0.223 25)

  • #009125

    #009125

    oklch(57.1% 0.18 144.9)

  • #3568F9

    #3568F9

    oklch(57.2% 0.224 265.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DD172A

    #DD172A

    oklch(57.2% 0.223 25)

  • #768000

    #768000

    oklch(57.2% 0.13 115.1)

  • #008893

    #008893

    oklch(57.2% 0.098 204.8)

  • #864DEA

    #864DEA

    oklch(57.1% 0.223 295)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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