#CC52AC#CC52AC

#CC52AC is a light, vivid pink. Relative luminance 0.219; OKLCH L 62.6% C 0.185 H 339.2°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#CC52AC
RGBrgb(204, 82, 172)
HSLhsl(316, 54%, 56%)
HSVhsv(316, 60%, 80%)
CMYKcmyk(0%, 59.8%, 15.7%, 20%)
CIE-LABlab(53.87, 58.46, -24.40)
CIE-LCHlch(53.87, 63.35, 337.35°)
OKLaboklab(62.65% 0.1726 -0.0657)
OKLCHoklch(62.65% 0.185 339.2)
XYZxyz(35.3662, 21.8535, 41.3772)
Luminance0.2185 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC52AC #52CC72
analogous
#AF52CC #CC52AC #CC526F
triadic
#CC52AC #ACCC52 #52ACCC
tetradic
#CC52AC #CCAF52 #52CC72 #526FCC
square
#CC52AC #CCAF52 #52CC72 #526FCC
split-complementary
#CC52AC #6FCC52 #52CCAF
monochromatic
#7E2567 #AE338E #CC52AC #DA81C3 #E8B1D9

Accessibility & contrast

On white

3.91
#CC52AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#CC52AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC52AC
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC52AC#FFFFFF#000000##000000
##CC52AC1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5775AF
Deuteranopia (green-blind)
#7C88A9
Tritanopia (blue-blind)
#D75678
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cc52ac;
/* rgb */ color: rgb(204, 82, 172);
/* oklch */ color: oklch(62.6% 0.185 339.2);
Tailwind
colors: {
  custom: {
    50: '#df89c5',
    500: '#cc52ac',
    950: '#000000',
  },
}
SCSS
$custom: #cc52ac;
$custom-light: #df89c5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc52ac",
  "rgb": {
    "r": 204,
    "g": 82,
    "b": 172
  },
  "hsl": {
    "h": 315.738,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62645,
    "c": 0.18473,
    "h": 339.2
  },
  "luminance": 0.21851
}

Semantic roles & 50–950 ramp

primary
#CC52AC
secondary
#A4D6B1
accent
#DE714A
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C12
muted
#847D81

Preview Lab

Preview with #CC52AC

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CC52AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva