#CC52AE#CC52AE

#CC52AE is a light, vivid pink. Relative luminance 0.219; OKLCH L 62.7% C 0.186 H 338.4°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#CC52AE
RGBrgb(204, 82, 174)
HSLhsl(315, 54%, 56%)
HSVhsv(315, 60%, 80%)
CMYKcmyk(0%, 59.8%, 14.7%, 20%)
CIE-LABlab(53.95, 58.76, -25.44)
CIE-LCHlch(53.95, 64.03, 336.59°)
OKLaboklab(62.73% 0.173 -0.0686)
OKLCHoklch(62.73% 0.186 338.4)
XYZxyz(35.5597, 21.9309, 42.3964)
Luminance0.2193 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC52AE #52CC70
analogous
#AD52CC #CC52AE #CC5271
triadic
#CC52AE #AECC52 #52AECC
tetradic
#CC52AE #CCAD52 #52CC70 #5271CC
square
#CC52AE #CCAD52 #52CC70 #5271CC
split-complementary
#CC52AE #71CC52 #52CCAD
monochromatic
#7E2568 #AE3390 #CC52AE #DA81C4 #E8B1DA

Accessibility & contrast

On white

3.90
#CC52AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC52AE#FFFFFF#000000##000000
##CC52AE1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5675B1
Deuteranopia (green-blind)
#7B88AB
Tritanopia (blue-blind)
#D65679
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cc52ae;
/* rgb */ color: rgb(204, 82, 174);
/* oklch */ color: oklch(62.7% 0.186 338.4);
Tailwind
colors: {
  custom: {
    50: '#df89c6',
    500: '#cc52ae',
    950: '#000000',
  },
}
SCSS
$custom: #cc52ae;
$custom-light: #df89c6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc52ae",
  "rgb": {
    "r": 204,
    "g": 82,
    "b": 174
  },
  "hsl": {
    "h": 314.754,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62732,
    "c": 0.18615,
    "h": 338.4
  },
  "luminance": 0.21928
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC52AE

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

Preview Lab → · Contrast checker → · Palette generator →

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