#CD172C

Closest named color: Cherry (#CF0234). oklch(54.2% 0.209 23.7), rgb(205, 23, 44).

Aa

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

About this color

#CD172C is a medium-dark, vivid red. In OKLCH its lightness is 54%, its chroma 0.209 and its hue 24°. Its hue sits on the warm side of the wheel. The nearest named color is Cherry (#CF0234), ΔE 0.015 away. White text reads best on it, at 5.59:1.

Hue familyReds
Lightnessmedium-dark (54%)
Chromavivid (0.209)
Temperaturewarm
Nearest nameCherry (#CF0234)
Black text3.75:1
White text5.59:1

Values

HEX#CD172C
RGBrgb(205, 23, 44)
HSLhsl(353, 80%, 45%)
OKLCHoklch(54.2% 0.209 23.7)

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 #CD172C 5.59:1 AA Lc -81.1 Fine for body text
Black text on #CD172C 3.75:1 AA large text Lc 28.3 Dividers and decoration only
#CD172C text on white 5.59:1 AA Lc 75.8 Fine for body text
#CD172C text on black 3.75:1 AA large text Lc -25.9 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

    #FCE3E1

    oklch(93.6% 0.028 23.2)

  3. Step 200

    200

    #FACCC9

    oklch(88.4% 0.052 22.6)

  4. Step 300

    300

    #F8A9A3

    oklch(81% 0.094 24.2)

  5. Step 400

    400

    #F07672

    oklch(70.7% 0.151 23.6)

  6. Step 500

    500

    #E74B4D

    oklch(63.2% 0.192 23.8)

  7. Step 600

    600 (this color)

    #CD172C

    oklch(54.2% 0.209 23.7)

  8. Step 700

    700

    #B50923

    oklch(49% 0.194 23.7)

  9. Step 800

    800

    #93121F

    oklch(42.7% 0.161 23.5)

  10. Step 900

    900

    #761B1E

    oklch(37.7% 0.125 24)

  11. Step 950

    950

    #461212

    oklch(27.1% 0.08 24.2)

Export this scale for Tailwind in the Tailwind colors tool

#CD172C 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)#584F2B0.230
Deuteranopia (no green cones)#8375240.209
Tritanopia (no blue cones)#E200230.041
Achromatopsia (no color)#6868680.211

Harmonies

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

Complementary

The opposite hue (180°).

  • #CD172C

    #CD172C

    oklch(54.2% 0.209 23.7)

  • #007F88

    #007F88

    oklch(54.4% 0.093 203.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CD172C

    #CD172C

    oklch(54.2% 0.209 23.7)

  • #C21B78

    #C21B78

    oklch(54.2% 0.209 353.8)

  • #AA5400

    #AA5400

    oklch(54.2% 0.137 53.5)

Open the analogous palette in the generator

Split complementary

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

  • #CD172C

    #CD172C

    oklch(54.2% 0.209 23.7)

  • #00826A

    #00826A

    oklch(54.1% 0.103 173.7)

  • #0079A6

    #0079A6

    oklch(54.2% 0.113 233.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CD172C

    #CD172C

    oklch(54.2% 0.209 23.7)

  • #008716

    #008716

    oklch(54.1% 0.177 143.7)

  • #2B62E6

    #2B62E6

    oklch(54.2% 0.209 263.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CD172C

    #CD172C

    oklch(54.2% 0.209 23.7)

  • #6F7600

    #6F7600

    oklch(54.1% 0.122 113.8)

  • #007F88

    #007F88

    oklch(54.4% 0.093 203.5)

  • #7A49DA

    #7A49DA

    oklch(54.2% 0.209 293.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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