#CC5F97#CC5F97

#CC5F97 is a light, vivid pink. Relative luminance 0.233; OKLCH L 63.5% C 0.151 H 350.2°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#CC5F97
RGBrgb(204, 95, 151)
HSLhsl(329, 52%, 59%)
HSVhsv(329, 53%, 80%)
CMYKcmyk(0%, 53.4%, 26%, 20%)
CIE-LABlab(55.34, 49.45, -9.89)
CIE-LCHlch(55.34, 50.43, 348.69°)
OKLaboklab(63.48% 0.1493 -0.0257)
OKLCHoklch(63.48% 0.151 350.2)
XYZxyz(34.5812, 23.2592, 31.9404)
Luminance0.2326 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5F97 #5FCC94
analogous
#CA5FCC #CC5F97 #CC5F60
triadic
#CC5F97 #97CC5F #5F97CC
tetradic
#CC5F97 #CCCA5F #5FCC94 #5F60CC
square
#CC5F97 #CCCA5F #5FCC94 #5F60CC
split-complementary
#CC5F97 #60CC5F #5FCCCA
monochromatic
#862B5A #B43979 #CC5F97 #DB8DB5 #EABCD3

Accessibility & contrast

On white

3.72
#CC5F97 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#CC5F97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5F97
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5F97#FFFFFF#000000##000000
##CC5F971.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7999
Deuteranopia (green-blind)
#898C94
Tritanopia (blue-blind)
#D95B74
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cc5f97;
/* rgb */ color: rgb(204, 95, 151);
/* oklch */ color: oklch(63.5% 0.151 350.2);
Tailwind
colors: {
  custom: {
    50: '#de90b5',
    500: '#cc5f97',
    950: '#000000',
  },
}
SCSS
$custom: #cc5f97;
$custom-light: #de90b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5f97",
  "rgb": {
    "r": 204,
    "g": 95,
    "b": 151
  },
  "hsl": {
    "h": 329.174,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.63477,
    "c": 0.15147,
    "h": 350.2
  },
  "luminance": 0.23256
}

Semantic roles & 50–950 ramp

primary
#CC5F97
secondary
#AED9C3
accent
#DB924D
background
#FEF9FB
surface
#FCF1F6
border
#D5CBD0
text
#150D11
muted
#847E80

Preview Lab

Preview with #CC5F97

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

Preview Lab → · Contrast checker → · Palette generator →

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