#CC51B3

Closest named color: Pinky Purple (#C94CBE). oklch(62.8% 0.191 336.4), rgb(204, 81, 179).

Aa

Black text reads best on this color (5.39:1).

About this color

#CC51B3 is a medium-light, vivid pink. In OKLCH its lightness is 63%, its chroma 0.191 and its hue 336°. Its hue sits on the warm side of the wheel. The nearest named color is Pinky Purple (#C94CBE), ΔE 0.022 away. Black text reads best on it, at 5.39:1.

Hue familyPinks
Lightnessmedium-light (63%)
Chromavivid (0.191)
Temperaturewarm
Nearest namePinky Purple (#C94CBE)
Black text5.39:1
White text3.89:1

Values

HEX#CC51B3
RGBrgb(204, 81, 179)
HSLhsl(312, 55%, 56%)
OKLCHoklch(62.8% 0.191 336.4)

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 #CC51B3 3.89:1 AA large text Lc -71.1 Content text, not long reading
Black text on #CC51B3 5.39:1 AA Lc 38.5 Non-text elements, placeholder text
#CC51B3 text on white 3.89:1 AA large text Lc 65.6 Content text, not long reading
#CC51B3 text on black 5.39:1 AA Lc -36.0 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #FBF2F9

    oklch(97% 0.013 333)

  2. Step 100

    100

    #F6E3F1

    oklch(93.5% 0.028 334.9)

  3. Step 200

    200

    #F0CDE6

    oklch(88.5% 0.051 336.3)

  4. Step 300

    300

    #E8AAD7

    oklch(81% 0.093 336.7)

  5. Step 400

    400

    #DA79C3

    oklch(70.7% 0.15 336.6)

  6. Step 500

    500 (this color)

    #CC51B3

    oklch(62.8% 0.191 336.4)

  7. Step 600

    600

    #B82F9F

    oklch(55.6% 0.208 336.5)

  8. Step 700

    700

    #9E1F88

    oklch(49% 0.193 336.5)

  9. Step 800

    800

    #801E6F

    oklch(42.7% 0.16 336.1)

  10. Step 900

    900

    #68205A

    oklch(37.8% 0.125 336.4)

  11. Step 950

    950

    #3D1435

    oklch(27% 0.08 335.8)

Export this scale for Tailwind in the Tailwind colors tool

#CC51B3 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)#5375B60.202
Deuteranopia (no green cones)#7988B00.177
Tritanopia (no blue cones)#D6577B0.093
Achromatopsia (no color)#8181810.193

Harmonies

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

Complementary

The opposite hue (180°).

  • #CC51B3

    #CC51B3

    oklch(62.8% 0.191 336.4)

  • #00A361

    #00A361

    oklch(62.9% 0.152 156.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CC51B3

    #CC51B3

    oklch(62.8% 0.191 336.4)

  • #A662E2

    #A662E2

    oklch(62.8% 0.192 306.2)

  • #E14876

    #E14876

    oklch(62.8% 0.191 6.3)

Open the analogous palette in the generator

Split complementary

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

  • #CC51B3

    #CC51B3

    oklch(62.8% 0.191 336.4)

  • #709900

    #709900

    oklch(62.9% 0.161 126.3)

  • #009E93

    #009E93

    oklch(62.9% 0.11 186.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CC51B3

    #CC51B3

    oklch(62.8% 0.191 336.4)

  • #A08700

    #A08700

    oklch(62.8% 0.129 95.9)

  • #0099B4

    #0099B4

    oklch(62.9% 0.112 216.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CC51B3

    #CC51B3

    oklch(62.8% 0.191 336.4)

  • #C07500

    #C07500

    oklch(62.9% 0.139 66.6)

  • #00A361

    #00A361

    oklch(62.9% 0.152 156.3)

  • #008EE4

    #008EE4

    oklch(62.8% 0.163 246.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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