#CC5CB4#CC5CB4

#CC5CB4 is a light, vivid pink. Relative luminance 0.238; OKLCH L 64.2% C 0.175 H 336.4°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#CC5CB4
RGBrgb(204, 92, 180)
HSLhsl(313, 52%, 58%)
HSVhsv(313, 55%, 80%)
CMYKcmyk(0%, 54.9%, 11.8%, 20%)
CIE-LABlab(55.88, 55.16, -25.95)
CIE-LCHlch(55.88, 60.96, 334.81°)
OKLaboklab(64.23% 0.1608 -0.0702)
OKLCHoklch(64.23% 0.175 336.4)
XYZxyz(36.9675, 23.7897, 45.8160)
Luminance0.2379 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5CB4 #5CCC74
analogous
#AC5CCC #CC5CB4 #CC5C7C
triadic
#CC5CB4 #B4CC5C #5CB4CC
tetradic
#CC5CB4 #CCAC5C #5CCC74 #5C7CCC
square
#CC5CB4 #CCAC5C #5CCC74 #5C7CCC
split-complementary
#CC5CB4 #7CCC5C #5CCCAC
monochromatic
#842971 #B33899 #CC5CB4 #DB8BC9 #E9B9DF

Accessibility & contrast

On white

3.65
#CC5CB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#CC5CB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5CB4
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5CB4#FFFFFF#000000##000000
##CC5CB41.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7BB7
Deuteranopia (green-blind)
#7E8CB1
Tritanopia (blue-blind)
#D56180
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cc5cb4;
/* rgb */ color: rgb(204, 92, 180);
/* oklch */ color: oklch(64.2% 0.175 336.4);
Tailwind
colors: {
  custom: {
    50: '#de8fca',
    500: '#cc5cb4',
    950: '#000000',
  },
}
SCSS
$custom: #cc5cb4;
$custom-light: #de8fca;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5cb4",
  "rgb": {
    "r": 204,
    "g": 92,
    "b": 180
  },
  "hsl": {
    "h": 312.857,
    "s": 52.336,
    "l": 58.039
  },
  "oklch": {
    "l": 0.6423,
    "c": 0.17547,
    "h": 336.4
  },
  "luminance": 0.23787
}

Semantic roles & 50–950 ramp

primary
#CC5CB4
secondary
#ACD8B5
accent
#DC6B4C
background
#FDF9FC
surface
#FBF1F8
border
#D4CBD1
text
#150D13
muted
#837E82

Preview Lab

Preview with #CC5CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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