#CC52AD#CC52AD

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

Color values

HEX#CC52AD
RGBrgb(204, 82, 173)
HSLhsl(315, 54%, 56%)
HSVhsv(315, 60%, 80%)
CMYKcmyk(0%, 59.8%, 15.2%, 20%)
CIE-LABlab(53.91, 58.61, -24.92)
CIE-LCHlch(53.91, 63.69, 336.97°)
OKLaboklab(62.69% 0.1728 -0.0672)
OKLCHoklch(62.69% 0.185 338.8)
XYZxyz(35.4626, 21.8920, 41.8849)
Luminance0.2189 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC52AD #52CC71
analogous
#AE52CC #CC52AD #CC5270
triadic
#CC52AD #ADCC52 #52ADCC
tetradic
#CC52AD #CCAE52 #52CC71 #5270CC
square
#CC52AD #CCAE52 #52CC71 #5270CC
split-complementary
#CC52AD #70CC52 #52CCAE
monochromatic
#7E2568 #AE338F #CC52AD #DA81C3 #E8B1DA

Accessibility & contrast

On white

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

On black

5.38
#CC52AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC52AD
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC52AD#FFFFFF#000000##000000
##CC52AD1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc52ad;
/* rgb */ color: rgb(204, 82, 173);
/* oklch */ color: oklch(62.7% 0.185 338.8);
Tailwind
colors: {
  custom: {
    50: '#df89c5',
    500: '#cc52ad',
    950: '#000000',
  },
}
SCSS
$custom: #cc52ad;
$custom-light: #df89c5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc52ad",
  "rgb": {
    "r": 204,
    "g": 82,
    "b": 173
  },
  "hsl": {
    "h": 315.246,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62688,
    "c": 0.18544,
    "h": 338.8
  },
  "luminance": 0.21889
}

Semantic roles & 50–950 ramp

primary
#CC52AD
secondary
#A4D6B1
accent
#DE704A
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CC52AD

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

Preview Lab → · Contrast checker → · Palette generator →

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