#CC042A

Closest named color: Cherry (#CF0234). oklch(53.4% 0.214 23), rgb(204, 4, 42).

Aa

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

About this color

#CC042A is a medium-dark, vivid red. In OKLCH its lightness is 53%, its chroma 0.214 and its hue 23°. Its hue sits on the warm side of the wheel. The nearest named color is Cherry (#CF0234), ΔE 0.012 away. White text reads best on it, at 5.80:1.

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

Values

HEX#CC042A
RGBrgb(204, 4, 42)
HSLhsl(349, 96%, 41%)
OKLCHoklch(53.4% 0.214 23)

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

    #F9A8A3

    oklch(80.9% 0.097 23.3)

  5. Step 400

    400

    #F17572

    oklch(70.7% 0.154 23.2)

  6. Step 500

    500

    #E8484D

    oklch(63% 0.196 23.2)

  7. Step 600

    600 (this color)

    #CC042A

    oklch(53.4% 0.214 23)

  8. Step 700

    700

    #B70024

    oklch(49.2% 0.198 23)

  9. Step 800

    800

    #950D1F

    oklch(42.8% 0.165 23)

  10. Step 900

    900

    #77191E

    oklch(37.7% 0.128 23.3)

  11. Step 950

    950

    #461112

    oklch(26.9% 0.081 23.4)

Export this scale for Tailwind in the Tailwind colors tool

#CC042A 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)#544C290.238
Deuteranopia (no green cones)#8073210.216
Tritanopia (no blue cones)#E1001B0.045
Achromatopsia (no color)#6565650.216

Harmonies

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

Complementary

The opposite hue (180°).

  • #CC042A

    #CC042A

    oklch(53.4% 0.214 23)

  • #007C84

    #007C84

    oklch(53.4% 0.091 202.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CC042A

    #CC042A

    oklch(53.4% 0.214 23)

  • #C00F78

    #C00F78

    oklch(53.4% 0.214 352.7)

  • #A85200

    #A85200

    oklch(53.5% 0.136 52.9)

Open the analogous palette in the generator

Split complementary

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

  • #CC042A

    #CC042A

    oklch(53.4% 0.214 23)

  • #008067

    #008067

    oklch(53.5% 0.103 172.7)

  • #0077A2

    #0077A2

    oklch(53.5% 0.11 232.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CC042A

    #CC042A

    oklch(53.4% 0.214 23)

  • #00850B

    #00850B

    oklch(53.5% 0.179 143)

  • #235FE6

    #235FE6

    oklch(53.4% 0.214 263.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CC042A

    #CC042A

    oklch(53.4% 0.214 23)

  • #6E7300

    #6E7300

    oklch(53.3% 0.119 112.8)

  • #007C84

    #007C84

    oklch(53.4% 0.091 202.7)

  • #7745DB

    #7745DB

    oklch(53.4% 0.215 292.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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