#CC5CB1#CC5CB1

#CC5CB1 is a light, vivid pink. Relative luminance 0.237; OKLCH L 64.1% C 0.173 H 337.7°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#CC5CB1
RGBrgb(204, 92, 177)
HSLhsl(314, 52%, 58%)
HSVhsv(314, 55%, 80%)
CMYKcmyk(0%, 54.9%, 13.2%, 20%)
CIE-LABlab(55.75, 54.69, -24.40)
CIE-LCHlch(55.75, 59.89, 335.96°)
OKLaboklab(64.1% 0.1602 -0.0658)
OKLCHoklch(64.1% 0.173 337.7)
XYZxyz(36.6652, 23.6688, 44.2239)
Luminance0.2367 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5CB1 #5CCC77
analogous
#AF5CCC #CC5CB1 #CC5C79
triadic
#CC5CB1 #B1CC5C #5CB1CC
tetradic
#CC5CB1 #CCAF5C #5CCC77 #5C79CC
square
#CC5CB1 #CCAF5C #5CCC77 #5C79CC
split-complementary
#CC5CB1 #79CC5C #5CCCAF
monochromatic
#84296E #B33895 #CC5CB1 #DB8BC7 #E9B9DE

Accessibility & contrast

On white

3.66
#CC5CB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#CC5CB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5CB1
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5CB1#FFFFFF#000000##000000
##CC5CB11.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7BB4
Deuteranopia (green-blind)
#7F8CAE
Tritanopia (blue-blind)
#D6607F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cc5cb1;
/* rgb */ color: rgb(204, 92, 177);
/* oklch */ color: oklch(64.1% 0.173 337.7);
Tailwind
colors: {
  custom: {
    50: '#de8fc8',
    500: '#cc5cb1',
    950: '#000000',
  },
}
SCSS
$custom: #cc5cb1;
$custom-light: #de8fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5cb1",
  "rgb": {
    "r": 204,
    "g": 92,
    "b": 177
  },
  "hsl": {
    "h": 314.464,
    "s": 52.336,
    "l": 58.039
  },
  "oklch": {
    "l": 0.641,
    "c": 0.17319,
    "h": 337.7
  },
  "luminance": 0.23666
}

Semantic roles & 50–950 ramp

primary
#CC5CB1
secondary
#ACD8B6
accent
#DC6F4C
background
#FDF9FC
surface
#FBF1F8
border
#D4CBD1
text
#150D13
muted
#837E82

Preview Lab

Preview with #CC5CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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