#CC52B3#CC52B3

#CC52B3 is a light, vivid pink. Relative luminance 0.221; OKLCH L 63.0% C 0.190 H 336.4°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#CC52B3
RGBrgb(204, 82, 179)
HSLhsl(312, 54%, 56%)
HSVhsv(312, 60%, 80%)
CMYKcmyk(0%, 59.8%, 12.3%, 20%)
CIE-LABlab(54.16, 59.52, -28.02)
CIE-LCHlch(54.16, 65.78, 334.79°)
OKLaboklab(62.96% 0.1739 -0.0759)
OKLCHoklch(62.96% 0.19 336.4)
XYZxyz(36.0562, 22.1295, 45.0115)
Luminance0.2213 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC52B3 #52CC6B
analogous
#A852CC #CC52B3 #CC5276
triadic
#CC52B3 #B3CC52 #52B3CC
tetradic
#CC52B3 #CCA852 #52CC6B #5276CC
square
#CC52B3 #CCA852 #52CC6B #5276CC
split-complementary
#CC52B3 #76CC52 #52CCA8
monochromatic
#7E256C #AE3395 #CC52B3 #DA81C8 #E8B1DD

Accessibility & contrast

On white

3.87
#CC52B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#CC52B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC52B3
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC52B3#FFFFFF#000000##000000
##CC52B31.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5476B6
Deuteranopia (green-blind)
#7988B0
Tritanopia (blue-blind)
#D6587B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cc52b3;
/* rgb */ color: rgb(204, 82, 179);
/* oklch */ color: oklch(63.0% 0.190 336.4);
Tailwind
colors: {
  custom: {
    50: '#df89ca',
    500: '#cc52b3',
    950: '#000000',
  },
}
SCSS
$custom: #cc52b3;
$custom-light: #df89ca;
$custom-dark: #000000;
JSON
{
  "hex": "#cc52b3",
  "rgb": {
    "r": 204,
    "g": 82,
    "b": 179
  },
  "hsl": {
    "h": 312.295,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62956,
    "c": 0.18978,
    "h": 336.4
  },
  "luminance": 0.22127
}

Semantic roles & 50–950 ramp

primary
#CC52B3
secondary
#A4D6AE
accent
#DE684A
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CC52B3

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

Preview Lab → · Contrast checker → · Palette generator →

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