#CC0072

Closest named color: Medium Violet Red (#C71585). oklch(55% 0.224 357.5), rgb(204, 0, 114).

Aa

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

About this color

#CC0072 is a medium-dark, vivid red. In OKLCH its lightness is 55%, its chroma 0.224 and its hue 358°. Its hue sits on the warm side of the wheel. The nearest named color is Medium Violet Red (#C71585), ΔE 0.031 away. White text reads best on it, at 5.51:1.

Hue familyReds
Lightnessmedium-dark (55%)
Chromavivid (0.224)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text3.81:1
White text5.51:1

Values

HEX#CC0072
RGBrgb(204, 0, 114)
HSLhsl(326, 100%, 40%)
OKLCHoklch(55% 0.224 357.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 #CC0072 5.51:1 AA Lc -80.3 Fine for body text
Black text on #CC0072 3.81:1 AA large text Lc 29.2 Dividers and decoration only
#CC0072 text on white 5.51:1 AA Lc 74.9 Content text, not long reading
#CC0072 text on black 3.81:1 AA large text Lc -26.8 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

    #FEF2F5

    oklch(97.1% 0.013 0.3)

  2. Step 100

    100

    #FBE2EA

    oklch(93.5% 0.029 356.3)

  3. Step 200

    200

    #F9CAD9

    oklch(88.4% 0.056 357.2)

  4. Step 300

    300

    #F6A5C1

    oklch(80.9% 0.101 357.3)

  5. Step 400

    400

    #ED70A1

    oklch(70.6% 0.162 357.4)

  6. Step 500

    500

    #E3418A

    oklch(63% 0.207 357.4)

  7. Step 600

    600 (this color)

    #CC0072

    oklch(55% 0.224 357.5)

  8. Step 700

    700

    #AF0061

    oklch(49% 0.2 357.5)

  9. Step 800

    800

    #91024F

    oklch(42.8% 0.173 357.8)

  10. Step 900

    900

    #741542

    oklch(37.7% 0.134 357.4)

  11. Step 950

    950

    #450F27

    oklch(27.1% 0.086 357.3)

Export this scale for Tailwind in the Tailwind colors tool

#CC0072 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)#4453740.256
Deuteranopia (no green cones)#77756E0.226
Tritanopia (no blue cones)#DE00420.082
Achromatopsia (no color)#6969690.226

Harmonies

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

Complementary

The opposite hue (180°).

  • #CC0072

    #CC0072

    oklch(55% 0.224 357.5)

  • #008471

    #008471

    oklch(54.9% 0.101 177.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CC0072

    #CC0072

    oklch(55% 0.224 357.5)

  • #B028B2

    #B028B2

    oklch(54.9% 0.224 327.5)

  • #D50113

    #D50113

    oklch(54.9% 0.224 27.5)

Open the analogous palette in the generator

Split complementary

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

  • #CC0072

    #CC0072

    oklch(55% 0.224 357.5)

  • #008933

    #008933

    oklch(54.9% 0.161 147.6)

  • #00808E

    #00808E

    oklch(54.9% 0.094 208.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CC0072

    #CC0072

    oklch(55% 0.224 357.5)

  • #6C7A00

    #6C7A00

    oklch(54.9% 0.127 117.4)

  • #007AAF

    #007AAF

    oklch(55% 0.121 237.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CC0072

    #CC0072

    oklch(55% 0.224 357.5)

  • #8D6C00

    #8D6C00

    oklch(54.9% 0.112 87.4)

  • #008471

    #008471

    oklch(54.9% 0.101 177.9)

  • #3A5EF1

    #3A5EF1

    oklch(54.9% 0.224 267.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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