#CC52A8#CC52A8

#CC52A8 is a light, vivid pink. Relative luminance 0.217; OKLCH L 62.5% C 0.182 H 340.8°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#CC52A8
RGBrgb(204, 82, 168)
HSLhsl(318, 54%, 56%)
HSVhsv(318, 60%, 80%)
CMYKcmyk(0%, 59.8%, 17.6%, 20%)
CIE-LABlab(53.71, 57.87, -22.31)
CIE-LCHlch(53.71, 62.02, 338.92°)
OKLaboklab(62.47% 0.1718 -0.0599)
OKLCHoklch(62.47% 0.182 340.8)
XYZxyz(34.9878, 21.7021, 39.3844)
Luminance0.2170 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC52A8 #52CC76
analogous
#B352CC #CC52A8 #CC526B
triadic
#CC52A8 #A8CC52 #52A8CC
tetradic
#CC52A8 #CCB352 #52CC76 #526BCC
square
#CC52A8 #CCB352 #52CC76 #526BCC
split-complementary
#CC52A8 #6BCC52 #52CCB3
monochromatic
#7E2564 #AE3389 #CC52A8 #DA81C0 #E8B1D8

Accessibility & contrast

On white

3.93
#CC52A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#CC52A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC52A8
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC52A8#FFFFFF#000000##000000
##CC52A81.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5974AB
Deuteranopia (green-blind)
#7D88A5
Tritanopia (blue-blind)
#D75476
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cc52a8;
/* rgb */ color: rgb(204, 82, 168);
/* oklch */ color: oklch(62.5% 0.182 340.8);
Tailwind
colors: {
  custom: {
    50: '#df89c2',
    500: '#cc52a8',
    950: '#000000',
  },
}
SCSS
$custom: #cc52a8;
$custom-light: #df89c2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc52a8",
  "rgb": {
    "r": 204,
    "g": 82,
    "b": 168
  },
  "hsl": {
    "h": 317.705,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62473,
    "c": 0.18196,
    "h": 340.8
  },
  "luminance": 0.21699
}

Semantic roles & 50–950 ramp

primary
#CC52A8
secondary
#A4D6B3
accent
#DE764A
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CC52A8

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

Preview Lab → · Contrast checker → · Palette generator →

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