#CC5897#CC5897

#CC5897 is a light, vivid pink. Relative luminance 0.221; OKLCH L 62.5% C 0.162 H 349.1°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#CC5897
RGBrgb(204, 88, 151)
HSLhsl(327, 53%, 57%)
HSVhsv(327, 57%, 80%)
CMYKcmyk(0%, 56.9%, 26%, 20%)
CIE-LABlab(54.08, 52.77, -11.77)
CIE-LCHlch(54.08, 54.07, 347.42°)
OKLaboklab(62.54% 0.1594 -0.0308)
OKLCHoklch(62.54% 0.162 349.1)
XYZxyz(33.9787, 22.0543, 31.7396)
Luminance0.2205 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5897 #58CC8D
analogous
#C758CC #CC5897 #CC585D
triadic
#CC5897 #97CC58 #5897CC
tetradic
#CC5897 #CCC758 #58CC8D #585DCC
square
#CC5897 #CCC758 #58CC8D #585DCC
split-complementary
#CC5897 #5DCC58 #58CCC7
monochromatic
#822859 #B13679 #CC5897 #DA87B4 #E9B6D1

Accessibility & contrast

On white

3.88
#CC5897 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#CC5897 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5897
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5897#FFFFFF#000000##000000
##CC58971.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#657599
Deuteranopia (green-blind)
#858994
Tritanopia (blue-blind)
#D95471
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cc5897;
/* rgb */ color: rgb(204, 88, 151);
/* oklch */ color: oklch(62.5% 0.162 349.1);
Tailwind
colors: {
  custom: {
    50: '#df8cb5',
    500: '#cc5897',
    950: '#000000',
  },
}
SCSS
$custom: #cc5897;
$custom-light: #df8cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5897",
  "rgb": {
    "r": 204,
    "g": 88,
    "b": 151
  },
  "hsl": {
    "h": 327.414,
    "s": 53.211,
    "l": 57.255
  },
  "oklch": {
    "l": 0.62543,
    "c": 0.16234,
    "h": 349.1
  },
  "luminance": 0.22051
}

Semantic roles & 50–950 ramp

primary
#CC5897
secondary
#A8D7BE
accent
#DD8E4B
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CC5897

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

Preview Lab → · Contrast checker → · Palette generator →

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