#CC0234

Closest named color: Cherry (#CF0234). oklch(53.5% 0.214 20.1), rgb(204, 2, 52).

Aa

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

About this color

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

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

Values

HEX#CC0234
RGBrgb(204, 2, 52)
HSLhsl(345, 98%, 40%)
OKLCHoklch(53.5% 0.214 20.1)

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 #CC0234 5.79:1 AA Lc -81.6 Fine for body text
Black text on #CC0234 3.62:1 AA large text Lc 27.8 Dividers and decoration only
#CC0234 text on white 5.79:1 AA Lc 76.3 Fine for body text
#CC0234 text on black 3.62:1 AA large text Lc -25.5 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

    #FBCCCA

    oklch(88.5% 0.054 21.1)

  4. Step 300

    300

    #F9A8A7

    oklch(81% 0.096 20.2)

  5. Step 400

    400

    #F17478

    oklch(70.6% 0.154 19.9)

  6. Step 500

    500

    #E84755

    oklch(63.1% 0.197 20.1)

  7. Step 600

    600 (this color)

    #CC0234

    oklch(53.5% 0.214 20.1)

  8. Step 700

    700

    #B6002D

    oklch(49.1% 0.197 20.1)

  9. Step 800

    800

    #940B26

    oklch(42.6% 0.165 19.9)

  10. Step 900

    900

    #771823

    oklch(37.7% 0.129 20.1)

  11. Step 950

    950

    #461115

    oklch(27% 0.081 20.2)

Export this scale for Tailwind in the Tailwind colors tool

#CC0234 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)#534C340.238
Deuteranopia (no green cones)#80732D0.216
Tritanopia (no blue cones)#E1001F0.048
Achromatopsia (no color)#6565650.216

Harmonies

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

Complementary

The opposite hue (180°).

  • #CC0234

    #CC0234

    oklch(53.5% 0.214 20.1)

  • #007D82

    #007D82

    oklch(53.6% 0.091 199.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CC0234

    #CC0234

    oklch(53.5% 0.214 20.1)

  • #BF137E

    #BF137E

    oklch(53.6% 0.215 350.2)

  • #AB4F00

    #AB4F00

    oklch(53.5% 0.141 50.2)

Open the analogous palette in the generator

Split complementary

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

  • #CC0234

    #CC0234

    oklch(53.5% 0.214 20.1)

  • #008164

    #008164

    oklch(53.7% 0.106 169.9)

  • #00789F

    #00789F

    oklch(53.6% 0.107 229.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CC0234

    #CC0234

    oklch(53.5% 0.214 20.1)

  • #248300

    #248300

    oklch(53.4% 0.173 140.2)

  • #0862E6

    #0862E6

    oklch(53.5% 0.214 260.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CC0234

    #CC0234

    oklch(53.5% 0.214 20.1)

  • #727200

    #727200

    oklch(53.4% 0.116 109.8)

  • #007D82

    #007D82

    oklch(53.6% 0.091 199.7)

  • #7248DD

    #7248DD

    oklch(53.5% 0.214 290.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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