#CC52A7#CC52A7

#CC52A7 is a light, vivid pink. Relative luminance 0.217; OKLCH L 62.4% C 0.181 H 341.2°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#CC52A7
RGBrgb(204, 82, 167)
HSLhsl(318, 54%, 56%)
HSVhsv(318, 60%, 80%)
CMYKcmyk(0%, 59.8%, 18.1%, 20%)
CIE-LABlab(53.67, 57.72, -21.79)
CIE-LCHlch(53.67, 61.70, 339.32°)
OKLaboklab(62.43% 0.1716 -0.0584)
OKLCHoklch(62.43% 0.181 341.2)
XYZxyz(34.8950, 21.6650, 38.8957)
Luminance0.2166 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC52A7 #52CC77
analogous
#B452CC #CC52A7 #CC526A
triadic
#CC52A7 #A7CC52 #52A7CC
tetradic
#CC52A7 #CCB452 #52CC77 #526ACC
square
#CC52A7 #CCB452 #52CC77 #526ACC
split-complementary
#CC52A7 #6ACC52 #52CCB4
monochromatic
#7E2563 #AE3388 #CC52A7 #DA81BF #E8B1D7

Accessibility & contrast

On white

3.94
#CC52A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#CC52A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC52A7
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC52A7#FFFFFF#000000##000000
##CC52A71.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A74AA
Deuteranopia (green-blind)
#7D87A4
Tritanopia (blue-blind)
#D75475
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cc52a7;
/* rgb */ color: rgb(204, 82, 167);
/* oklch */ color: oklch(62.4% 0.181 341.2);
Tailwind
colors: {
  custom: {
    50: '#df89c1',
    500: '#cc52a7',
    950: '#000000',
  },
}
SCSS
$custom: #cc52a7;
$custom-light: #df89c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc52a7",
  "rgb": {
    "r": 204,
    "g": 82,
    "b": 167
  },
  "hsl": {
    "h": 318.197,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.6243,
    "c": 0.18128,
    "h": 341.2
  },
  "luminance": 0.21662
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC52A7

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

Preview Lab → · Contrast checker → · Palette generator →

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