#CC5987#CC5987

#CC5987 is a light, vivid pink. Relative luminance 0.217; OKLCH L 62.1% C 0.153 H 357.5°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#CC5987
RGBrgb(204, 89, 135)
HSLhsl(336, 53%, 57%)
HSVhsv(336, 56%, 80%)
CMYKcmyk(0%, 56.4%, 33.8%, 20%)
CIE-LABlab(53.74, 50.26, -2.84)
CIE-LCHlch(53.74, 50.34, 356.77°)
OKLaboklab(62.12% 0.153 -0.0068)
OKLCHoklch(62.12% 0.153 357.5)
XYZxyz(32.8490, 21.7347, 25.3822)
Luminance0.2173 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5987 #59CC9E
analogous
#CC59C0 #CC5987 #CC6559
triadic
#CC5987 #87CC59 #5987CC
tetradic
#CC5987 #C0CC59 #59CC9E #6559CC
square
#CC5987 #C0CC59 #59CC9E #6559CC
split-complementary
#CC5987 #59CC65 #59C0CC
monochromatic
#83284C #B13668 #CC5987 #DA88A9 #E9B7CB

Accessibility & contrast

On white

3.93
#CC5987 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#CC5987 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5987
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5987#FFFFFF#000000##000000
##CC59871.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7388
Deuteranopia (green-blind)
#8A8884
Tritanopia (blue-blind)
#DB516A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cc5987;
/* rgb */ color: rgb(204, 89, 135);
/* oklch */ color: oklch(62.1% 0.153 357.5);
Tailwind
colors: {
  custom: {
    50: '#df8ca9',
    500: '#cc5987',
    950: '#000000',
  },
}
SCSS
$custom: #cc5987;
$custom-light: #df8ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5987",
  "rgb": {
    "r": 204,
    "g": 89,
    "b": 135
  },
  "hsl": {
    "h": 336,
    "s": 52.995,
    "l": 57.451
  },
  "oklch": {
    "l": 0.6212,
    "c": 0.15317,
    "h": 357.5
  },
  "luminance": 0.21731
}

Semantic roles & 50–950 ramp

primary
#CC5987
secondary
#A9D8C5
accent
#DCA24B
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CC5987

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

Preview Lab → · Contrast checker → · Palette generator →

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