#CC52AF#CC52AF

#CC52AF is a light, vivid pink. Relative luminance 0.220; OKLCH L 62.8% C 0.187 H 338.0°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#CC52AF
RGBrgb(204, 82, 175)
HSLhsl(314, 54%, 56%)
HSVhsv(314, 60%, 80%)
CMYKcmyk(0%, 59.8%, 14.2%, 20%)
CIE-LABlab(54.00, 58.91, -25.95)
CIE-LCHlch(54.00, 64.37, 336.22°)
OKLaboklab(62.78% 0.1732 -0.0701)
OKLCHoklch(62.78% 0.187 338)
XYZxyz(35.6575, 21.9700, 42.9118)
Luminance0.2197 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC52AF #52CC6F
analogous
#AC52CC #CC52AF #CC5272
triadic
#CC52AF #AFCC52 #52AFCC
tetradic
#CC52AF #CCAC52 #52CC6F #5272CC
square
#CC52AF #CCAC52 #52CC6F #5272CC
split-complementary
#CC52AF #72CC52 #52CCAC
monochromatic
#7E2569 #AE3391 #CC52AF #DA81C5 #E8B1DB

Accessibility & contrast

On white

3.89
#CC52AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#CC52AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC52AF
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC52AF#FFFFFF#000000##000000
##CC52AF1.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5675B2
Deuteranopia (green-blind)
#7B88AC
Tritanopia (blue-blind)
#D65779
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cc52af;
/* rgb */ color: rgb(204, 82, 175);
/* oklch */ color: oklch(62.8% 0.187 338.0);
Tailwind
colors: {
  custom: {
    50: '#df89c7',
    500: '#cc52af',
    950: '#000000',
  },
}
SCSS
$custom: #cc52af;
$custom-light: #df89c7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc52af",
  "rgb": {
    "r": 204,
    "g": 82,
    "b": 175
  },
  "hsl": {
    "h": 314.262,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62777,
    "c": 0.18686,
    "h": 338
  },
  "luminance": 0.21967
}

Semantic roles & 50–950 ramp

primary
#CC52AF
secondary
#A4D6B0
accent
#DE6D4A
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CC52AF

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

Preview Lab → · Contrast checker → · Palette generator →

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