#CC52A5#CC52A5

#CC52A5 is a light, vivid pink. Relative luminance 0.216; OKLCH L 62.3% C 0.180 H 342.0°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#CC52A5
RGBrgb(204, 82, 165)
HSLhsl(319, 54%, 56%)
HSVhsv(319, 60%, 80%)
CMYKcmyk(0%, 59.8%, 19.1%, 20%)
CIE-LABlab(53.59, 57.43, -20.74)
CIE-LCHlch(53.59, 61.06, 340.14°)
OKLaboklab(62.35% 0.1712 -0.0555)
OKLCHoklch(62.35% 0.18 342)
XYZxyz(34.7115, 21.5916, 37.9295)
Luminance0.2159 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC52A5 #52CC79
analogous
#B652CC #CC52A5 #CC5268
triadic
#CC52A5 #A5CC52 #52A5CC
tetradic
#CC52A5 #CCB652 #52CC79 #5268CC
square
#CC52A5 #CCB652 #52CC79 #5268CC
split-complementary
#CC52A5 #68CC52 #52CCB6
monochromatic
#7E2562 #AE3386 #CC52A5 #DA81BE #E8B1D6

Accessibility & contrast

On white

3.95
#CC52A5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#CC52A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC52A5
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC52A5#FFFFFF#000000##000000
##CC52A51.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B73A8
Deuteranopia (green-blind)
#7E87A2
Tritanopia (blue-blind)
#D85374
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cc52a5;
/* rgb */ color: rgb(204, 82, 165);
/* oklch */ color: oklch(62.3% 0.180 342.0);
Tailwind
colors: {
  custom: {
    50: '#df89bf',
    500: '#cc52a5',
    950: '#000000',
  },
}
SCSS
$custom: #cc52a5;
$custom-light: #df89bf;
$custom-dark: #000000;
JSON
{
  "hex": "#cc52a5",
  "rgb": {
    "r": 204,
    "g": 82,
    "b": 165
  },
  "hsl": {
    "h": 319.18,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62347,
    "c": 0.17994,
    "h": 342
  },
  "luminance": 0.21589
}

Semantic roles & 50–950 ramp

primary
#CC52A5
secondary
#A4D6B4
accent
#DE794A
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CC52A5

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

Preview Lab → · Contrast checker → · Palette generator →

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