#CC5887#CC5887

#CC5887 is a mid, vivid pink. Relative luminance 0.216; OKLCH L 62.0% C 0.155 H 357.2°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#CC5887
RGBrgb(204, 88, 135)
HSLhsl(336, 53%, 57%)
HSVhsv(336, 57%, 80%)
CMYKcmyk(0%, 56.9%, 33.8%, 20%)
CIE-LABlab(53.57, 50.73, -3.10)
CIE-LCHlch(53.57, 50.83, 356.50°)
OKLaboklab(61.99% 0.1545 -0.0075)
OKLCHoklch(61.99% 0.155 357.2)
XYZxyz(32.7664, 21.5694, 25.3547)
Luminance0.2157 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5887 #58CC9D
analogous
#CC58C1 #CC5887 #CC6358
triadic
#CC5887 #87CC58 #5887CC
tetradic
#CC5887 #C1CC58 #58CC9D #6358CC
square
#CC5887 #C1CC58 #58CC9D #6358CC
split-complementary
#CC5887 #58CC63 #58C1CC
monochromatic
#82284C #B13668 #CC5887 #DA87A9 #E9B6CA

Accessibility & contrast

On white

3.95
#CC5887 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#CC5887 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5887
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5887#FFFFFF#000000##000000
##CC58871.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7388
Deuteranopia (green-blind)
#898884
Tritanopia (blue-blind)
#DB506A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cc5887;
/* rgb */ color: rgb(204, 88, 135);
/* oklch */ color: oklch(62.0% 0.155 357.2);
Tailwind
colors: {
  custom: {
    50: '#df8ca9',
    500: '#cc5887',
    950: '#000000',
  },
}
SCSS
$custom: #cc5887;
$custom-light: #df8ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5887",
  "rgb": {
    "r": 204,
    "g": 88,
    "b": 135
  },
  "hsl": {
    "h": 335.69,
    "s": 53.211,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61988,
    "c": 0.15466,
    "h": 357.2
  },
  "luminance": 0.21566
}

Semantic roles & 50–950 ramp

primary
#CC5887
secondary
#A8D7C4
accent
#DDA24B
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CC5887

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

Preview Lab → · Contrast checker → · Palette generator →

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