#CC5796#CC5796

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

Color values

HEX#CC5796
RGBrgb(204, 87, 150)
HSLhsl(328, 53%, 57%)
HSVhsv(328, 57%, 80%)
CMYKcmyk(0%, 57.4%, 26.5%, 20%)
CIE-LABlab(53.88, 53.10, -11.50)
CIE-LCHlch(53.88, 54.33, 347.78°)
OKLaboklab(62.38% 0.1605 -0.03)
OKLCHoklch(62.38% 0.163 349.4)
XYZxyz(33.8163, 21.8590, 31.2865)
Luminance0.2186 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5796 #57CC8D
analogous
#C757CC #CC5796 #CC575C
triadic
#CC5796 #96CC57 #5796CC
tetradic
#CC5796 #CCC757 #57CC8D #575CCC
square
#CC5796 #CCC757 #57CC8D #575CCC
split-complementary
#CC5796 #5CCC57 #57CCC7
monochromatic
#812758 #B03678 #CC5796 #DA86B3 #E9B5D1

Accessibility & contrast

On white

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

On black

5.37
#CC5796 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5796
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5796#FFFFFF#000000##000000
##CC57961.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc5796;
/* rgb */ color: rgb(204, 87, 150);
/* oklch */ color: oklch(62.4% 0.163 349.4);
Tailwind
colors: {
  custom: {
    50: '#df8cb4',
    500: '#cc5796',
    950: '#000000',
  },
}
SCSS
$custom: #cc5796;
$custom-light: #df8cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5796",
  "rgb": {
    "r": 204,
    "g": 87,
    "b": 150
  },
  "hsl": {
    "h": 327.692,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.62378,
    "c": 0.16331,
    "h": 349.4
  },
  "luminance": 0.21856
}

Semantic roles & 50–950 ramp

primary
#CC5796
secondary
#A8D7BE
accent
#DD8E4B
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CC5796

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

Preview Lab → · Contrast checker → · Palette generator →

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