#CC173A

Closest named color: Cherry (#CF0234). oklch(54.2% 0.207 19.5), rgb(204, 23, 58).

Aa

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

About this color

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

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

Values

HEX#CC173A
RGBrgb(204, 23, 58)
HSLhsl(348, 80%, 45%)
OKLCHoklch(54.2% 0.207 19.5)

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 #CC173A 5.59:1 AA Lc -81.2 Fine for body text
Black text on #CC173A 3.75:1 AA large text Lc 28.2 Dividers and decoration only
#CC173A text on white 5.59:1 AA Lc 75.9 Fine for body text
#CC173A 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

    #FEF2F2

    oklch(97.1% 0.013 17.4)

  2. Step 100

    100

    #FCE3E2

    oklch(93.6% 0.028 20.4)

  3. Step 200

    200

    #FACCCB

    oklch(88.5% 0.052 19.6)

  4. Step 300

    300

    #F7A8A8

    oklch(80.8% 0.094 19.3)

  5. Step 400

    400

    #EF767A

    oklch(70.7% 0.149 19.6)

  6. Step 500

    500

    #E64A58

    oklch(63.1% 0.192 19.6)

  7. Step 600

    600 (this color)

    #CC173A

    oklch(54.2% 0.207 19.5)

  8. Step 700

    700

    #B40930

    oklch(49% 0.193 19.5)

  9. Step 800

    800

    #921228

    oklch(42.6% 0.159 19.7)

  10. Step 900

    900

    #761B25

    oklch(37.8% 0.124 19.7)

  11. Step 950

    950

    #451216

    oklch(27% 0.078 19.6)

Export this scale for Tailwind in the Tailwind colors tool

#CC173A 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)#56503A0.230
Deuteranopia (no green cones)#8175340.210
Tritanopia (no blue cones)#E100280.044
Achromatopsia (no color)#6868680.209

Harmonies

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

Complementary

The opposite hue (180°).

  • #CC173A

    #CC173A

    oklch(54.2% 0.207 19.5)

  • #007F84

    #007F84

    oklch(54.2% 0.092 199.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CC173A

    #CC173A

    oklch(54.2% 0.207 19.5)

  • #BF2081

    #BF2081

    oklch(54.3% 0.208 349.6)

  • #AF5000

    #AF5000

    oklch(54.3% 0.144 49.7)

Open the analogous palette in the generator

Split complementary

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

  • #CC173A

    #CC173A

    oklch(54.2% 0.207 19.5)

  • #008365

    #008365

    oklch(54.2% 0.108 169.5)

  • #007AA1

    #007AA1

    oklch(54.2% 0.107 229.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CC173A

    #CC173A

    oklch(54.2% 0.207 19.5)

  • #2A8500

    #2A8500

    oklch(54.1% 0.173 139.5)

  • #0D66E5

    #0D66E5

    oklch(54.3% 0.208 259.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CC173A

    #CC173A

    oklch(54.2% 0.207 19.5)

  • #757400

    #757400

    oklch(54.2% 0.118 109.2)

  • #007F84

    #007F84

    oklch(54.2% 0.092 199.6)

  • #724DDD

    #724DDD

    oklch(54.2% 0.208 289.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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