#CC5797#CC5797

#CC5797 is a light, vivid pink. Relative luminance 0.219; OKLCH L 62.4% C 0.164 H 348.9°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#CC5797
RGBrgb(204, 87, 151)
HSLhsl(327, 53%, 57%)
HSVhsv(327, 57%, 80%)
CMYKcmyk(0%, 57.4%, 26%, 20%)
CIE-LABlab(53.91, 53.24, -12.04)
CIE-LCHlch(53.91, 54.58, 347.26°)
OKLaboklab(62.41% 0.1608 -0.0315)
OKLCHoklch(62.41% 0.164 348.9)
XYZxyz(33.8972, 21.8913, 31.7124)
Luminance0.2189 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5797 #57CC8C
analogous
#C657CC #CC5797 #CC575D
triadic
#CC5797 #97CC57 #5797CC
tetradic
#CC5797 #CCC657 #57CC8C #575DCC
square
#CC5797 #CCC657 #57CC8C #575DCC
split-complementary
#CC5797 #5DCC57 #57CCC6
monochromatic
#812759 #B03679 #CC5797 #DA86B4 #E9B5D1

Accessibility & contrast

On white

3.91
#CC5797 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#CC5797 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5797
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5797#FFFFFF#000000##000000
##CC57971.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#657499
Deuteranopia (green-blind)
#858894
Tritanopia (blue-blind)
#D95370
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cc5797;
/* rgb */ color: rgb(204, 87, 151);
/* oklch */ color: oklch(62.4% 0.164 348.9);
Tailwind
colors: {
  custom: {
    50: '#df8cb5',
    500: '#cc5797',
    950: '#000000',
  },
}
SCSS
$custom: #cc5797;
$custom-light: #df8cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5797",
  "rgb": {
    "r": 204,
    "g": 87,
    "b": 151
  },
  "hsl": {
    "h": 327.179,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.62414,
    "c": 0.16387,
    "h": 348.9
  },
  "luminance": 0.21888
}

Semantic roles & 50–950 ramp

primary
#CC5797
secondary
#A8D7BD
accent
#DD8D4B
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CC5797

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

Preview Lab → · Contrast checker → · Palette generator →

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