#CC5899#CC5899

#CC5899 is a light, vivid pink. Relative luminance 0.221; OKLCH L 62.6% C 0.163 H 348.1°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#CC5899
RGBrgb(204, 88, 153)
HSLhsl(326, 53%, 57%)
HSVhsv(326, 57%, 80%)
CMYKcmyk(0%, 56.9%, 25%, 20%)
CIE-LABlab(54.15, 53.04, -12.85)
CIE-LCHlch(54.15, 54.58, 346.39°)
OKLaboklab(62.62% 0.16 -0.0337)
OKLCHoklch(62.62% 0.163 348.1)
XYZxyz(34.1425, 22.1199, 32.6022)
Luminance0.2212 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5899 #58CC8B
analogous
#C558CC #CC5899 #CC585F
triadic
#CC5899 #99CC58 #5899CC
tetradic
#CC5899 #CCC558 #58CC8B #585FCC
square
#CC5899 #CCC558 #58CC8B #585FCC
split-complementary
#CC5899 #5FCC58 #58CCC5
monochromatic
#82285A #B1367B #CC5899 #DA87B6 #E9B6D2

Accessibility & contrast

On white

3.87
#CC5899 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#CC5899 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5899
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5899#FFFFFF#000000##000000
##CC58991.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#65759B
Deuteranopia (green-blind)
#858996
Tritanopia (blue-blind)
#D95572
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cc5899;
/* rgb */ color: rgb(204, 88, 153);
/* oklch */ color: oklch(62.6% 0.163 348.1);
Tailwind
colors: {
  custom: {
    50: '#df8cb7',
    500: '#cc5899',
    950: '#000000',
  },
}
SCSS
$custom: #cc5899;
$custom-light: #df8cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5899",
  "rgb": {
    "r": 204,
    "g": 88,
    "b": 153
  },
  "hsl": {
    "h": 326.379,
    "s": 53.211,
    "l": 57.255
  },
  "oklch": {
    "l": 0.62617,
    "c": 0.16347,
    "h": 348.1
  },
  "luminance": 0.22117
}

Semantic roles & 50–950 ramp

primary
#CC5899
secondary
#A8D7BD
accent
#DD8B4B
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CC5899

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

Preview Lab → · Contrast checker → · Palette generator →

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