#CC5B97#CC5B97

#CC5B97 is a light, vivid pink. Relative luminance 0.226; OKLCH L 62.9% C 0.158 H 349.5°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#CC5B97
RGBrgb(204, 91, 151)
HSLhsl(328, 53%, 58%)
HSVhsv(328, 55%, 80%)
CMYKcmyk(0%, 55.4%, 26%, 20%)
CIE-LABlab(54.61, 51.37, -10.98)
CIE-LCHlch(54.61, 52.53, 347.93°)
OKLaboklab(62.94% 0.1551 -0.0286)
OKLCHoklch(62.94% 0.158 349.5)
XYZxyz(34.2301, 22.5570, 31.8233)
Luminance0.2255 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5B97 #5BCC90
analogous
#C95BCC #CC5B97 #CC5B5E
triadic
#CC5B97 #97CC5B #5B97CC
tetradic
#CC5B97 #CCC95B #5BCC90 #5B5ECC
square
#CC5B97 #CCC95B #5BCC90 #5B5ECC
split-complementary
#CC5B97 #5ECC5B #5BCCC9
monochromatic
#842959 #B23779 #CC5B97 #DB8AB5 #E9B8D2

Accessibility & contrast

On white

3.81
#CC5B97 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#CC5B97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5B97
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5B97#FFFFFF#000000##000000
##CC5B971.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc5b97;
/* rgb */ color: rgb(204, 91, 151);
/* oklch */ color: oklch(62.9% 0.158 349.5);
Tailwind
colors: {
  custom: {
    50: '#df8eb5',
    500: '#cc5b97',
    950: '#000000',
  },
}
SCSS
$custom: #cc5b97;
$custom-light: #df8eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5b97",
  "rgb": {
    "r": 204,
    "g": 91,
    "b": 151
  },
  "hsl": {
    "h": 328.142,
    "s": 52.558,
    "l": 57.843
  },
  "oklch": {
    "l": 0.62936,
    "c": 0.15773,
    "h": 349.5
  },
  "luminance": 0.22554
}

Semantic roles & 50–950 ramp

primary
#CC5B97
secondary
#ABD8C0
accent
#DC8F4C
background
#FEF9FB
surface
#FCF1F6
border
#D5CBD0
text
#160D11
muted
#847E80

Preview Lab

Preview with #CC5B97

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

Preview Lab → · Contrast checker → · Palette generator →

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