#CC5E87#CC5E87

#CC5E87 is a light, vivid pink. Relative luminance 0.226; OKLCH L 62.8% C 0.146 H 358.7°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#CC5E87
RGBrgb(204, 94, 135)
HSLhsl(338, 52%, 58%)
HSVhsv(338, 54%, 80%)
CMYKcmyk(0%, 53.9%, 33.8%, 20%)
CIE-LABlab(54.65, 47.87, -1.51)
CIE-LCHlch(54.65, 47.90, 358.20°)
OKLaboklab(62.8% 0.1456 -0.0033)
OKLCHoklch(62.8% 0.146 358.7)
XYZxyz(33.2793, 22.5953, 25.5257)
Luminance0.2259 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5E87 #5ECCA3
analogous
#CC5EBE #CC5E87 #CC6C5E
triadic
#CC5E87 #87CC5E #5E87CC
tetradic
#CC5E87 #BECC5E #5ECCA3 #6C5ECC
square
#CC5E87 #BECC5E #5ECCA3 #6C5ECC
split-complementary
#CC5E87 #5ECC6C #5EBECC
monochromatic
#852A4C #B43967 #CC5E87 #DB8CAA #E9BBCC

Accessibility & contrast

On white

3.81
#CC5E87 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#CC5E87 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5E87
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5E87#FFFFFF#000000##000000
##CC5E871.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F7688
Deuteranopia (green-blind)
#8C8A84
Tritanopia (blue-blind)
#DB566D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cc5e87;
/* rgb */ color: rgb(204, 94, 135);
/* oklch */ color: oklch(62.8% 0.146 358.7);
Tailwind
colors: {
  custom: {
    50: '#df8fa9',
    500: '#cc5e87',
    950: '#000000',
  },
}
SCSS
$custom: #cc5e87;
$custom-light: #df8fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5e87",
  "rgb": {
    "r": 204,
    "g": 94,
    "b": 135
  },
  "hsl": {
    "h": 337.636,
    "s": 51.887,
    "l": 58.431
  },
  "oklch": {
    "l": 0.628,
    "c": 0.14565,
    "h": 358.7
  },
  "luminance": 0.22592
}

Semantic roles & 50–950 ramp

primary
#CC5E87
secondary
#ADD9C8
accent
#DBA64C
background
#FEF9FA
surface
#FCF1F4
border
#D5CBCE
text
#160D10
muted
#847E7F

Preview Lab

Preview with #CC5E87

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

Preview Lab → · Contrast checker → · Palette generator →

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