#CC52AB#CC52AB

#CC52AB is a light, vivid pink. Relative luminance 0.218; OKLCH L 62.6% C 0.184 H 339.6°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#CC52AB
RGBrgb(204, 82, 171)
HSLhsl(316, 54%, 56%)
HSVhsv(316, 60%, 80%)
CMYKcmyk(0%, 59.8%, 16.2%, 20%)
CIE-LABlab(53.83, 58.31, -23.88)
CIE-LCHlch(53.83, 63.01, 337.73°)
OKLaboklab(62.6% 0.1724 -0.0643)
OKLCHoklch(62.6% 0.184 339.6)
XYZxyz(35.2705, 21.8152, 40.8733)
Luminance0.2181 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC52AB #52CC73
analogous
#B052CC #CC52AB #CC526E
triadic
#CC52AB #ABCC52 #52ABCC
tetradic
#CC52AB #CCB052 #52CC73 #526ECC
square
#CC52AB #CCB052 #52CC73 #526ECC
split-complementary
#CC52AB #6ECC52 #52CCB0
monochromatic
#7E2566 #AE338C #CC52AB #DA81C2 #E8B1D9

Accessibility & contrast

On white

3.92
#CC52AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#CC52AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC52AB
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC52AB#FFFFFF#000000##000000
##CC52AB1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5874AE
Deuteranopia (green-blind)
#7C88A8
Tritanopia (blue-blind)
#D75577
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cc52ab;
/* rgb */ color: rgb(204, 82, 171);
/* oklch */ color: oklch(62.6% 0.184 339.6);
Tailwind
colors: {
  custom: {
    50: '#df89c4',
    500: '#cc52ab',
    950: '#000000',
  },
}
SCSS
$custom: #cc52ab;
$custom-light: #df89c4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc52ab",
  "rgb": {
    "r": 204,
    "g": 82,
    "b": 171
  },
  "hsl": {
    "h": 316.23,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62601,
    "c": 0.18402,
    "h": 339.6
  },
  "luminance": 0.21812
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC52AB

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

Preview Lab → · Contrast checker → · Palette generator →

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