#CC5C97#CC5C97

#CC5C97 is a light, vivid pink. Relative luminance 0.227; OKLCH L 63.1% C 0.156 H 349.7°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#CC5C97
RGBrgb(204, 92, 151)
HSLhsl(328, 52%, 58%)
HSVhsv(328, 55%, 80%)
CMYKcmyk(0%, 54.9%, 26%, 20%)
CIE-LABlab(54.79, 50.89, -10.71)
CIE-LCHlch(54.79, 52.01, 348.12°)
OKLaboklab(63.07% 0.1537 -0.0279)
OKLCHoklch(63.07% 0.156 349.7)
XYZxyz(34.3161, 22.7291, 31.8520)
Luminance0.2273 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5C97 #5CCC91
analogous
#C95CCC #CC5C97 #CC5C5F
triadic
#CC5C97 #97CC5C #5C97CC
tetradic
#CC5C97 #CCC95C #5CCC91 #5C5FCC
square
#CC5C97 #CCC95C #5CCC91 #5C5FCC
split-complementary
#CC5C97 #5FCC5C #5CCCC9
monochromatic
#842959 #B33879 #CC5C97 #DB8BB5 #E9B9D2

Accessibility & contrast

On white

3.79
#CC5C97 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#CC5C97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5C97
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5C97#FFFFFF#000000##000000
##CC5C971.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#697799
Deuteranopia (green-blind)
#878A94
Tritanopia (blue-blind)
#D95873
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cc5c97;
/* rgb */ color: rgb(204, 92, 151);
/* oklch */ color: oklch(63.1% 0.156 349.7);
Tailwind
colors: {
  custom: {
    50: '#de8fb5',
    500: '#cc5c97',
    950: '#000000',
  },
}
SCSS
$custom: #cc5c97;
$custom-light: #de8fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5c97",
  "rgb": {
    "r": 204,
    "g": 92,
    "b": 151
  },
  "hsl": {
    "h": 328.393,
    "s": 52.336,
    "l": 58.039
  },
  "oklch": {
    "l": 0.6307,
    "c": 0.15617,
    "h": 349.7
  },
  "luminance": 0.22726
}

Semantic roles & 50–950 ramp

primary
#CC5C97
secondary
#ACD8C1
accent
#DC904C
background
#FEF9FB
surface
#FCF1F6
border
#D5CBD0
text
#160D11
muted
#847E80

Preview Lab

Preview with #CC5C97

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

Preview Lab → · Contrast checker → · Palette generator →

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