#CC042D

Closest named color: Cherry (#CF0234). oklch(53.5% 0.214 22.2), rgb(204, 4, 45).

Aa

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

About this color

#CC042D is a medium-dark, vivid red. In OKLCH its lightness is 53%, its chroma 0.214 and its hue 22°. 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.79:1.

Hue familyReds
Lightnessmedium-dark (53%)
Chromavivid (0.214)
Temperaturewarm
Nearest nameCherry (#CF0234)
Black text3.62:1
White text5.79:1

Values

HEX#CC042D
RGBrgb(204, 4, 45)
HSLhsl(348, 96%, 41%)
OKLCHoklch(53.5% 0.214 22.2)

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 #CC042D 5.79:1 AA Lc -81.7 Fine for body text
Black text on #CC042D 3.62:1 AA large text Lc 27.7 Dividers and decoration only
#CC042D text on white 5.79:1 AA Lc 76.4 Fine for body text
#CC042D text on black 3.62:1 AA large text Lc -25.4 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

    #FBCCC9

    oklch(88.5% 0.054 22.5)

  4. Step 300

    300

    #F9A8A4

    oklch(80.9% 0.096 22.5)

  5. Step 400

    400

    #F17574

    oklch(70.7% 0.153 22.2)

  6. Step 500

    500

    #E84850

    oklch(63.1% 0.196 22.1)

  7. Step 600

    600 (this color)

    #CC042D

    oklch(53.5% 0.214 22.2)

  8. Step 700

    700

    #B60026

    oklch(49% 0.198 22.3)

  9. Step 800

    800

    #940C21

    oklch(42.6% 0.165 22.1)

  10. Step 900

    900

    #771920

    oklch(37.7% 0.128 22.2)

  11. Step 950

    950

    #461113

    oklch(26.9% 0.081 22.4)

Export this scale for Tailwind in the Tailwind colors tool

#CC042D 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)#544C2C0.237
Deuteranopia (no green cones)#8073250.216
Tritanopia (no blue cones)#E1001C0.045
Achromatopsia (no color)#6565650.216

Harmonies

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

Complementary

The opposite hue (180°).

  • #CC042D

    #CC042D

    oklch(53.5% 0.214 22.2)

  • #007C84

    #007C84

    oklch(53.4% 0.091 202.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CC042D

    #CC042D

    oklch(53.5% 0.214 22.2)

  • #C01179

    #C01179

    oklch(53.5% 0.214 352.4)

  • #A95100

    #A95100

    oklch(53.5% 0.138 52)

Open the analogous palette in the generator

Split complementary

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

  • #CC042D

    #CC042D

    oklch(53.5% 0.214 22.2)

  • #008066

    #008066

    oklch(53.4% 0.104 172)

  • #0077A1

    #0077A1

    oklch(53.5% 0.109 231.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CC042D

    #CC042D

    oklch(53.5% 0.214 22.2)

  • #078500

    #078500

    oklch(53.5% 0.181 142.2)

  • #1E60E6

    #1E60E6

    oklch(53.5% 0.214 262.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CC042D

    #CC042D

    oklch(53.5% 0.214 22.2)

  • #6F7300

    #6F7300

    oklch(53.4% 0.118 112.2)

  • #007C84

    #007C84

    oklch(53.4% 0.091 202.7)

  • #7646DB

    #7646DB

    oklch(53.4% 0.214 292.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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