#CC5CA6#CC5CA6

#CC5CA6 is a light, vivid pink. Relative luminance 0.232; OKLCH L 63.6% C 0.165 H 342.5°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#CC5CA6
RGBrgb(204, 92, 166)
HSLhsl(320, 52%, 58%)
HSVhsv(320, 55%, 80%)
CMYKcmyk(0%, 54.9%, 18.6%, 20%)
CIE-LABlab(55.33, 53.02, -18.67)
CIE-LCHlch(55.33, 56.21, 340.60°)
OKLaboklab(63.64% 0.1577 -0.0498)
OKLCHoklch(63.64% 0.165 342.5)
XYZxyz(35.6127, 23.2478, 38.6806)
Luminance0.2324 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5CA6 #5CCC82
analogous
#BA5CCC #CC5CA6 #CC5C6E
triadic
#CC5CA6 #A6CC5C #5CA6CC
tetradic
#CC5CA6 #CCBA5C #5CCC82 #5C6ECC
square
#CC5CA6 #CCBA5C #5CCC82 #5C6ECC
split-complementary
#CC5CA6 #6ECC5C #5CCCBA
monochromatic
#842965 #B33889 #CC5CA6 #DB8BBF #E9B9D9

Accessibility & contrast

On white

3.72
#CC5CA6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#CC5CA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5CA6
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5CA6#FFFFFF#000000##000000
##CC5CA61.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6479A8
Deuteranopia (green-blind)
#838BA3
Tritanopia (blue-blind)
#D75D79
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cc5ca6;
/* rgb */ color: rgb(204, 92, 166);
/* oklch */ color: oklch(63.6% 0.165 342.5);
Tailwind
colors: {
  custom: {
    50: '#de8fc0',
    500: '#cc5ca6',
    950: '#000000',
  },
}
SCSS
$custom: #cc5ca6;
$custom-light: #de8fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5ca6",
  "rgb": {
    "r": 204,
    "g": 92,
    "b": 166
  },
  "hsl": {
    "h": 320.357,
    "s": 52.336,
    "l": 58.039
  },
  "oklch": {
    "l": 0.63643,
    "c": 0.16538,
    "h": 342.5
  },
  "luminance": 0.23245
}

Semantic roles & 50–950 ramp

primary
#CC5CA6
secondary
#ACD8BB
accent
#DC7D4C
background
#FEF9FB
surface
#FCF1F7
border
#D5CBD0
text
#150D12
muted
#847E81

Preview Lab

Preview with #CC5CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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