#CC012E

Closest named color: Cherry (#CF0234). oklch(53.4% 0.215 21.8), rgb(204, 1, 46).

Aa

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

About this color

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

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

Values

HEX#CC012E
RGBrgb(204, 1, 46)
HSLhsl(347, 99%, 40%)
OKLCHoklch(53.4% 0.215 21.8)

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

    #FEF2F2

    oklch(97.1% 0.013 17.4)

  2. Step 100

    100

    #FCE3E2

    oklch(93.6% 0.028 20.4)

  3. Step 200

    200

    #FBCCC9

    oklch(88.5% 0.054 22.5)

  4. Step 300

    300

    #F9A8A5

    oklch(80.9% 0.096 21.7)

  5. Step 400

    400

    #F27474

    oklch(70.7% 0.156 21.8)

  6. Step 500

    500

    #E94750

    oklch(63.2% 0.198 22)

  7. Step 600

    600 (this color)

    #CC012E

    oklch(53.4% 0.215 21.8)

  8. Step 700

    700

    #B60028

    oklch(49% 0.197 21.7)

  9. Step 800

    800

    #950B22

    oklch(42.8% 0.166 21.7)

  10. Step 900

    900

    #771820

    oklch(37.6% 0.129 21.9)

  11. Step 950

    950

    #461113

    oklch(26.9% 0.081 22.4)

Export this scale for Tailwind in the Tailwind colors tool

#CC012E 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)#534C2D0.239
Deuteranopia (no green cones)#8073260.217
Tritanopia (no blue cones)#E1001C0.046
Achromatopsia (no color)#6565650.216

Harmonies

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

Complementary

The opposite hue (180°).

  • #CC012E

    #CC012E

    oklch(53.4% 0.215 21.8)

  • #007C83

    #007C83

    oklch(53.4% 0.091 201.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CC012E

    #CC012E

    oklch(53.4% 0.215 21.8)

  • #C0107A

    #C0107A

    oklch(53.5% 0.215 352)

  • #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°).

  • #CC012E

    #CC012E

    oklch(53.4% 0.215 21.8)

  • #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.

  • #CC012E

    #CC012E

    oklch(53.4% 0.215 21.8)

  • #118400

    #118400

    oklch(53.3% 0.178 141.8)

  • #1A60E6

    #1A60E6

    oklch(53.4% 0.214 261.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CC012E

    #CC012E

    oklch(53.4% 0.215 21.8)

  • #6F7300

    #6F7300

    oklch(53.4% 0.118 112.2)

  • #007C83

    #007C83

    oklch(53.4% 0.091 201.7)

  • #7546DC

    #7546DC

    oklch(53.4% 0.215 291.8)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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