#CC5FAC

Closest named color: Pale Magenta (#D767AD). oklch(64.3% 0.165 340), rgb(204, 95, 172).

Aa

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

About this color

#CC5FAC is a medium-light, vivid pink. In OKLCH its lightness is 64%, its chroma 0.165 and its hue 340°. Its hue sits on the warm side of the wheel. The nearest named color is Pale Magenta (#D767AD), ΔE 0.028 away. Black text reads best on it, at 5.80:1.

Hue familyPinks
Lightnessmedium-light (64%)
Chromavivid (0.165)
Temperaturewarm
Nearest namePale Magenta (#D767AD)
Black text5.80:1
White text3.62:1

Values

HEX#CC5FAC
RGBrgb(204, 95, 172)
HSLhsl(318, 52%, 59%)
OKLCHoklch(64.3% 0.165 340)

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 #CC5FAC 3.62:1 AA large text Lc -68.8 Content text, not long reading
Black text on #CC5FAC 5.80:1 AA Lc 40.8 Non-text elements, placeholder text
#CC5FAC text on white 3.62:1 AA large text Lc 63.3 Content text, not long reading
#CC5FAC text on black 5.80:1 AA Lc -38.4 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

    #FBF3F8

    oklch(97.2% 0.011 339.3)

  2. Step 100

    100

    #F5E4EF

    oklch(93.6% 0.023 338.6)

  3. Step 200

    200

    #EECEE2

    oklch(88.4% 0.044 340.1)

  4. Step 300

    300

    #E5ADD1

    oklch(81% 0.08 340.3)

  5. Step 400

    400

    #D57FBA

    oklch(70.7% 0.129 339.7)

  6. Step 500

    500 (this color)

    #CC5FAC

    oklch(64.3% 0.165 340)

  7. Step 600

    600

    #B33D93

    oklch(55.5% 0.179 340.2)

  8. Step 700

    700

    #9A2E7E

    oklch(49.1% 0.167 339.9)

  9. Step 800

    800

    #7D2866

    oklch(42.7% 0.138 340.2)

  10. Step 900

    900

    #652653

    oklch(37.7% 0.108 340.2)

  11. Step 950

    950

    #3B1731

    oklch(26.9% 0.068 339.2)

Export this scale for Tailwind in the Tailwind colors tool

#CC5FAC 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)#647CAF0.174
Deuteranopia (no green cones)#838DA90.156
Tritanopia (no blue cones)#D6617E0.074
Achromatopsia (no color)#8686860.166

Harmonies

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

Complementary

The opposite hue (180°).

  • #CC5FAC

    #CC5FAC

    oklch(64.3% 0.165 340)

  • #00A76E

    #00A76E

    oklch(64.3% 0.145 160.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CC5FAC

    #CC5FAC

    oklch(64.3% 0.165 340)

  • #AC6CD7

    #AC6CD7

    oklch(64.3% 0.165 310.1)

  • #DD5A76

    #DD5A76

    oklch(64.2% 0.165 9.9)

Open the analogous palette in the generator

Split complementary

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

  • #CC5FAC

    #CC5FAC

    oklch(64.3% 0.165 340)

  • #6AA019

    #6AA019

    oklch(64.4% 0.165 130.3)

  • #00A29C

    #00A29C

    oklch(64.3% 0.111 190.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CC5FAC

    #CC5FAC

    oklch(64.3% 0.165 340)

  • #A08E00

    #A08E00

    oklch(64.3% 0.134 100.3)

  • #009DBE

    #009DBE

    oklch(64.4% 0.117 219.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CC5FAC

    #CC5FAC

    oklch(64.3% 0.165 340)

  • #C27B00

    #C27B00

    oklch(64.3% 0.139 69.7)

  • #00A76E

    #00A76E

    oklch(64.3% 0.145 160.2)

  • #2790EC

    #2790EC

    oklch(64.2% 0.165 250.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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