#CC5798#CC5798

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

Color values

HEX#CC5798
RGBrgb(204, 87, 152)
HSLhsl(327, 53%, 57%)
HSVhsv(327, 57%, 80%)
CMYKcmyk(0%, 57.4%, 25.5%, 20%)
CIE-LABlab(53.95, 53.37, -12.57)
CIE-LCHlch(53.95, 54.83, 346.75°)
OKLaboklab(62.45% 0.1611 -0.0329)
OKLCHoklch(62.45% 0.164 348.4)
XYZxyz(33.9787, 21.9239, 32.1419)
Luminance0.2192 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5798 #57CC8B
analogous
#C657CC #CC5798 #CC575D
triadic
#CC5798 #98CC57 #5798CC
tetradic
#CC5798 #CCC657 #57CC8B #575DCC
square
#CC5798 #CCC657 #57CC8B #575DCC
split-complementary
#CC5798 #5DCC57 #57CCC6
monochromatic
#812759 #B0367A #CC5798 #DA86B5 #E9B5D2

Accessibility & contrast

On white

3.90
#CC5798 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC5798#FFFFFF#000000##000000
##CC57981.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#64749A
Deuteranopia (green-blind)
#848895
Tritanopia (blue-blind)
#D95471
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cc5798;
/* rgb */ color: rgb(204, 87, 152);
/* oklch */ color: oklch(62.5% 0.164 348.4);
Tailwind
colors: {
  custom: {
    50: '#df8cb6',
    500: '#cc5798',
    950: '#000000',
  },
}
SCSS
$custom: #cc5798;
$custom-light: #df8cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5798",
  "rgb": {
    "r": 204,
    "g": 87,
    "b": 152
  },
  "hsl": {
    "h": 326.667,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.62452,
    "c": 0.16443,
    "h": 348.4
  },
  "luminance": 0.21921
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC5798

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

Preview Lab → · Contrast checker → · Palette generator →

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