#CC5CB9#CC5CB9

#CC5CB9 is a light, vivid pink. Relative luminance 0.240; OKLCH L 64.5% C 0.179 H 334.4°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#CC5CB9
RGBrgb(204, 92, 185)
HSLhsl(310, 52%, 58%)
HSVhsv(310, 55%, 80%)
CMYKcmyk(0%, 54.9%, 9.3%, 20%)
CIE-LABlab(56.08, 55.96, -28.51)
CIE-LCHlch(56.08, 62.81, 333.01°)
OKLaboklab(64.45% 0.1618 -0.0774)
OKLCHoklch(64.45% 0.179 334.4)
XYZxyz(37.4861, 23.9971, 48.5471)
Luminance0.2399 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5CB9 #5CCC6F
analogous
#A75CCC #CC5CB9 #CC5C81
triadic
#CC5CB9 #B9CC5C #5CB9CC
tetradic
#CC5CB9 #CCA75C #5CCC6F #5C81CC
square
#CC5CB9 #CCA75C #5CCC6F #5C81CC
split-complementary
#CC5CB9 #81CC5C #5CCCA7
monochromatic
#842975 #B3389E #CC5CB9 #DB8BCD #E9B9E1

Accessibility & contrast

On white

3.62
#CC5CB9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#CC5CB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5CB9
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5CB9#FFFFFF#000000##000000
##CC5CB91.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7CBC
Deuteranopia (green-blind)
#7C8CB6
Tritanopia (blue-blind)
#D56382
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cc5cb9;
/* rgb */ color: rgb(204, 92, 185);
/* oklch */ color: oklch(64.5% 0.179 334.4);
Tailwind
colors: {
  custom: {
    50: '#de8fce',
    500: '#cc5cb9',
    950: '#000000',
  },
}
SCSS
$custom: #cc5cb9;
$custom-light: #de8fce;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5cb9",
  "rgb": {
    "r": 204,
    "g": 92,
    "b": 185
  },
  "hsl": {
    "h": 310.179,
    "s": 52.336,
    "l": 58.039
  },
  "oklch": {
    "l": 0.64452,
    "c": 0.17934,
    "h": 334.4
  },
  "luminance": 0.23994
}

Semantic roles & 50–950 ramp

primary
#CC5CB9
secondary
#ACD8B3
accent
#DC644C
background
#FDF9FC
surface
#FBF1F9
border
#D4CBD2
text
#150D13
muted
#837E82

Preview Lab

Preview with #CC5CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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