#CC54AC#CC54AC

#CC54AC is a light, vivid pink. Relative luminance 0.222; OKLCH L 62.9% C 0.182 H 339.3°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#CC54AC
RGBrgb(204, 84, 172)
HSLhsl(316, 54%, 56%)
HSVhsv(316, 59%, 80%)
CMYKcmyk(0%, 58.8%, 15.7%, 20%)
CIE-LABlab(54.20, 57.58, -23.90)
CIE-LCHlch(54.20, 62.34, 337.46°)
OKLaboklab(62.88% 0.17 -0.0643)
OKLCHoklch(62.88% 0.182 339.3)
XYZxyz(35.5192, 22.1595, 41.4282)
Luminance0.2216 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC54AC #54CC74
analogous
#B054CC #CC54AC #CC5470
triadic
#CC54AC #ACCC54 #54ACCC
tetradic
#CC54AC #CCB054 #54CC74 #5470CC
square
#CC54AC #CCB054 #54CC74 #5470CC
split-complementary
#CC54AC #70CC54 #54CCB0
monochromatic
#802668 #AF348E #CC54AC #DA83C3 #E8B2DA

Accessibility & contrast

On white

3.87
#CC54AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#CC54AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC54AC
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC54AC#FFFFFF#000000##000000
##CC54AC1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5976AF
Deuteranopia (green-blind)
#7D89A9
Tritanopia (blue-blind)
#D75779
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cc54ac;
/* rgb */ color: rgb(204, 84, 172);
/* oklch */ color: oklch(62.9% 0.182 339.3);
Tailwind
colors: {
  custom: {
    50: '#de8ac5',
    500: '#cc54ac',
    950: '#000000',
  },
}
SCSS
$custom: #cc54ac;
$custom-light: #de8ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc54ac",
  "rgb": {
    "r": 204,
    "g": 84,
    "b": 172
  },
  "hsl": {
    "h": 316,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.62884,
    "c": 0.18177,
    "h": 339.3
  },
  "luminance": 0.22157
}

Semantic roles & 50–950 ramp

primary
#CC54AC
secondary
#A5D7B2
accent
#DD724A
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C12
muted
#847D81

Preview Lab

Preview with #CC54AC

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

Preview Lab → · Contrast checker → · Palette generator →

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