#CC5CB2#CC5CB2

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

Color values

HEX#CC5CB2
RGBrgb(204, 92, 178)
HSLhsl(314, 52%, 58%)
HSVhsv(314, 55%, 80%)
CMYKcmyk(0%, 54.9%, 12.7%, 20%)
CIE-LABlab(55.80, 54.85, -24.92)
CIE-LCHlch(55.80, 60.24, 335.57°)
OKLaboklab(64.14% 0.1604 -0.0673)
OKLCHoklch(64.14% 0.174 337.2)
XYZxyz(36.7652, 23.7088, 44.7507)
Luminance0.2371 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5CB2 #5CCC76
analogous
#AE5CCC #CC5CB2 #CC5C7A
triadic
#CC5CB2 #B2CC5C #5CB2CC
tetradic
#CC5CB2 #CCAE5C #5CCC76 #5C7ACC
square
#CC5CB2 #CCAE5C #5CCC76 #5C7ACC
split-complementary
#CC5CB2 #7ACC5C #5CCCAE
monochromatic
#84296F #B33896 #CC5CB2 #DB8BC8 #E9B9DE

Accessibility & contrast

On white

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

On black

5.74
#CC5CB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5CB2
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5CB2#FFFFFF#000000##000000
##CC5CB21.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc5cb2;
/* rgb */ color: rgb(204, 92, 178);
/* oklch */ color: oklch(64.1% 0.174 337.2);
Tailwind
colors: {
  custom: {
    50: '#de8fc9',
    500: '#cc5cb2',
    950: '#000000',
  },
}
SCSS
$custom: #cc5cb2;
$custom-light: #de8fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5cb2",
  "rgb": {
    "r": 204,
    "g": 92,
    "b": 178
  },
  "hsl": {
    "h": 313.929,
    "s": 52.336,
    "l": 58.039
  },
  "oklch": {
    "l": 0.64143,
    "c": 0.17394,
    "h": 337.2
  },
  "luminance": 0.23706
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC5CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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