#CC2D8E

Closest named color: Medium Violet Red (#C71585). oklch(57.8% 0.212 348.7), rgb(204, 45, 142).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (58%)
Chromavivid (0.212)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text4.33:1
White text4.84:1

Values

HEX#CC2D8E
RGBrgb(204, 45, 142)
HSLhsl(323, 64%, 49%)
OKLCHoklch(57.8% 0.212 348.7)

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 #CC2D8E 4.84:1 AA Lc -77.6 Fine for body text
Black text on #CC2D8E 4.33:1 AA large text Lc 31.9 Non-text elements, placeholder text
#CC2D8E text on white 4.84:1 AA Lc 72.2 Content text, not long reading
#CC2D8E text on black 4.33:1 AA large text Lc -29.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

    #FDF2F7

    oklch(97.1% 0.013 347.9)

  2. Step 100

    100

    #F9E3ED

    oklch(93.6% 0.027 348.3)

  3. Step 200

    200

    #F5CCDF

    oklch(88.6% 0.052 348.6)

  4. Step 300

    300

    #F0A8CB

    oklch(81% 0.095 348.8)

  5. Step 400

    400

    #E475B0

    oklch(70.6% 0.153 348.6)

  6. Step 500

    500

    #D94B9D

    oklch(63.1% 0.195 348.5)

  7. Step 600

    600 (this color)

    #CC2D8E

    oklch(57.8% 0.212 348.7)

  8. Step 700

    700

    #A91173

    oklch(49.2% 0.197 348.5)

  9. Step 800

    800

    #89155D

    oklch(42.7% 0.163 348.8)

  10. Step 900

    900

    #6E1B4C

    oklch(37.6% 0.127 348.7)

  11. Step 950

    950

    #41122D

    oklch(27% 0.08 348.3)

Export this scale for Tailwind in the Tailwind colors tool

#CC2D8E 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)#4860900.237
Deuteranopia (no green cones)#767B8A0.208
Tritanopia (no blue cones)#DB235A0.084
Achromatopsia (no color)#7171710.214

Harmonies

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

Complementary

The opposite hue (180°).

  • #CC2D8E

    #CC2D8E

    oklch(57.8% 0.212 348.7)

  • #008F6D

    #008F6D

    oklch(57.8% 0.116 168.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CC2D8E

    #CC2D8E

    oklch(57.8% 0.212 348.7)

  • #AC42C7

    #AC42C7

    oklch(57.9% 0.211 318.8)

  • #DB2646

    #DB2646

    oklch(57.9% 0.212 18.6)

Open the analogous palette in the generator

Split complementary

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

  • #CC2D8E

    #CC2D8E

    oklch(57.8% 0.212 348.7)

  • #359100

    #359100

    oklch(57.8% 0.181 138.7)

  • #008B8F

    #008B8F

    oklch(57.8% 0.098 198.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CC2D8E

    #CC2D8E

    oklch(57.8% 0.212 348.7)

  • #817F00

    #817F00

    oklch(57.9% 0.125 108.6)

  • #0086AF

    #0086AF

    oklch(57.9% 0.114 228.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CC2D8E

    #CC2D8E

    oklch(57.8% 0.212 348.7)

  • #A07000

    #A07000

    oklch(58% 0.12 78.9)

  • #008F6D

    #008F6D

    oklch(57.8% 0.116 168.6)

  • #1072F4

    #1072F4

    oklch(57.9% 0.212 258.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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