#CC5CB7#CC5CB7

#CC5CB7 is a light, vivid pink. Relative luminance 0.239; OKLCH L 64.4% C 0.178 H 335.2°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#CC5CB7
RGBrgb(204, 92, 183)
HSLhsl(311, 52%, 58%)
HSVhsv(311, 55%, 80%)
CMYKcmyk(0%, 54.9%, 10.3%, 20%)
CIE-LABlab(56.00, 55.64, -27.48)
CIE-LCHlch(56.00, 62.06, 333.71°)
OKLaboklab(64.36% 0.1614 -0.0745)
OKLCHoklch(64.36% 0.178 335.2)
XYZxyz(37.2764, 23.9133, 47.4430)
Luminance0.2391 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5CB7 #5CCC71
analogous
#A95CCC #CC5CB7 #CC5C7F
triadic
#CC5CB7 #B7CC5C #5CB7CC
tetradic
#CC5CB7 #CCA95C #5CCC71 #5C7FCC
square
#CC5CB7 #CCA95C #5CCC71 #5C7FCC
split-complementary
#CC5CB7 #7FCC5C #5CCCA9
monochromatic
#842973 #B3389C #CC5CB7 #DB8BCC #E9B9E0

Accessibility & contrast

On white

3.63
#CC5CB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#CC5CB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5CB7
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5CB7#FFFFFF#000000##000000
##CC5CB71.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7CBA
Deuteranopia (green-blind)
#7D8CB4
Tritanopia (blue-blind)
#D56281
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cc5cb7;
/* rgb */ color: rgb(204, 92, 183);
/* oklch */ color: oklch(64.4% 0.178 335.2);
Tailwind
colors: {
  custom: {
    50: '#de8fcd',
    500: '#cc5cb7',
    950: '#000000',
  },
}
SCSS
$custom: #cc5cb7;
$custom-light: #de8fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5cb7",
  "rgb": {
    "r": 204,
    "g": 92,
    "b": 183
  },
  "hsl": {
    "h": 311.25,
    "s": 52.336,
    "l": 58.039
  },
  "oklch": {
    "l": 0.64363,
    "c": 0.17777,
    "h": 335.2
  },
  "luminance": 0.23911
}

Semantic roles & 50–950 ramp

primary
#CC5CB7
secondary
#ACD8B4
accent
#DC674C
background
#FDF9FC
surface
#FBF1F9
border
#D4CBD2
text
#150D13
muted
#837E82

Preview Lab

Preview with #CC5CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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