#CC5A97#CC5A97

#CC5A97 is a light, vivid pink. Relative luminance 0.224; OKLCH L 62.8% C 0.159 H 349.4°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#CC5A97
RGBrgb(204, 90, 151)
HSLhsl(328, 53%, 58%)
HSVhsv(328, 56%, 80%)
CMYKcmyk(0%, 55.9%, 26%, 20%)
CIE-LABlab(54.44, 51.84, -11.25)
CIE-LCHlch(54.44, 53.05, 347.76°)
OKLaboklab(62.8% 0.1566 -0.0293)
OKLCHoklch(62.8% 0.159 349.4)
XYZxyz(34.1451, 22.3872, 31.7950)
Luminance0.2238 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5A97 #5ACC8F
analogous
#C85ACC #CC5A97 #CC5A5E
triadic
#CC5A97 #97CC5A #5A97CC
tetradic
#CC5A97 #CCC85A #5ACC8F #5A5ECC
square
#CC5A97 #CCC85A #5ACC8F #5A5ECC
split-complementary
#CC5A97 #5ECC5A #5ACCC8
monochromatic
#832959 #B23779 #CC5A97 #DA89B4 #E9B7D2

Accessibility & contrast

On white

3.83
#CC5A97 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#CC5A97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5A97
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5A97#FFFFFF#000000##000000
##CC5A971.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#677699
Deuteranopia (green-blind)
#868A94
Tritanopia (blue-blind)
#D95672
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cc5a97;
/* rgb */ color: rgb(204, 90, 151);
/* oklch */ color: oklch(62.8% 0.159 349.4);
Tailwind
colors: {
  custom: {
    50: '#df8db5',
    500: '#cc5a97',
    950: '#000000',
  },
}
SCSS
$custom: #cc5a97;
$custom-light: #df8db5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5a97",
  "rgb": {
    "r": 204,
    "g": 90,
    "b": 151
  },
  "hsl": {
    "h": 327.895,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.62804,
    "c": 0.15928,
    "h": 349.4
  },
  "luminance": 0.22384
}

Semantic roles & 50–950 ramp

primary
#CC5A97
secondary
#AAD8BF
accent
#DC8F4C
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160D11
muted
#847D80

Preview Lab

Preview with #CC5A97

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

Preview Lab → · Contrast checker → · Palette generator →

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