#CC5CB5#CC5CB5

#CC5CB5 is a light, vivid pink. Relative luminance 0.238; OKLCH L 64.3% C 0.176 H 336.0°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#CC5CB5
RGBrgb(204, 92, 181)
HSLhsl(312, 52%, 58%)
HSVhsv(312, 55%, 80%)
CMYKcmyk(0%, 54.9%, 11.3%, 20%)
CIE-LABlab(55.92, 55.32, -26.46)
CIE-LCHlch(55.92, 61.32, 334.44°)
OKLaboklab(64.27% 0.161 -0.0716)
OKLCHoklch(64.27% 0.176 336)
XYZxyz(37.0697, 23.8306, 46.3544)
Luminance0.2383 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5CB5 #5CCC73
analogous
#AB5CCC #CC5CB5 #CC5C7D
triadic
#CC5CB5 #B5CC5C #5CB5CC
tetradic
#CC5CB5 #CCAB5C #5CCC73 #5C7DCC
square
#CC5CB5 #CCAB5C #5CCC73 #5C7DCC
split-complementary
#CC5CB5 #7DCC5C #5CCCAB
monochromatic
#842972 #B3389A #CC5CB5 #DB8BCA #E9B9DF

Accessibility & contrast

On white

3.64
#CC5CB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#CC5CB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5CB5
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5CB5#FFFFFF#000000##000000
##CC5CB51.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc5cb5;
/* rgb */ color: rgb(204, 92, 181);
/* oklch */ color: oklch(64.3% 0.176 336.0);
Tailwind
colors: {
  custom: {
    50: '#de8fcb',
    500: '#cc5cb5',
    950: '#000000',
  },
}
SCSS
$custom: #cc5cb5;
$custom-light: #de8fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5cb5",
  "rgb": {
    "r": 204,
    "g": 92,
    "b": 181
  },
  "hsl": {
    "h": 312.321,
    "s": 52.336,
    "l": 58.039
  },
  "oklch": {
    "l": 0.64274,
    "c": 0.17622,
    "h": 336
  },
  "luminance": 0.23828
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC5CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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