#CC52B0#CC52B0

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

Color values

HEX#CC52B0
RGBrgb(204, 82, 176)
HSLhsl(314, 54%, 56%)
HSVhsv(314, 60%, 80%)
CMYKcmyk(0%, 59.8%, 13.7%, 20%)
CIE-LABlab(54.04, 59.06, -26.47)
CIE-LCHlch(54.04, 64.72, 335.86°)
OKLaboklab(62.82% 0.1734 -0.0716)
OKLCHoklch(62.82% 0.188 337.6)
XYZxyz(35.7561, 22.0095, 43.4309)
Luminance0.2201 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC52B0 #52CC6E
analogous
#AB52CC #CC52B0 #CC5273
triadic
#CC52B0 #B0CC52 #52B0CC
tetradic
#CC52B0 #CCAB52 #52CC6E #5273CC
square
#CC52B0 #CCAB52 #52CC6E #5273CC
split-complementary
#CC52B0 #73CC52 #52CCAB
monochromatic
#7E256A #AE3392 #CC52B0 #DA81C6 #E8B1DB

Accessibility & contrast

On white

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

On black

5.40
#CC52B0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC52B0
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC52B0#FFFFFF#000000##000000
##CC52B01.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5575B3
Deuteranopia (green-blind)
#7A88AD
Tritanopia (blue-blind)
#D6577A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cc52b0;
/* rgb */ color: rgb(204, 82, 176);
/* oklch */ color: oklch(62.8% 0.188 337.6);
Tailwind
colors: {
  custom: {
    50: '#df89c8',
    500: '#cc52b0',
    950: '#000000',
  },
}
SCSS
$custom: #cc52b0;
$custom-light: #df89c8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc52b0",
  "rgb": {
    "r": 204,
    "g": 82,
    "b": 176
  },
  "hsl": {
    "h": 313.77,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62821,
    "c": 0.18759,
    "h": 337.6
  },
  "luminance": 0.22007
}

Semantic roles & 50–950 ramp

primary
#CC52B0
secondary
#A4D6AF
accent
#DE6C4A
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CC52B0

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

Preview Lab → · Contrast checker → · Palette generator →

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