#CC5978#CC5978

#CC5978 is a mid, vivid pink. Relative luminance 0.213; OKLCH L 61.7% C 0.148 H 5.6°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#CC5978
RGBrgb(204, 89, 120)
HSLhsl(344, 53%, 57%)
HSVhsv(344, 56%, 80%)
CMYKcmyk(0%, 56.4%, 41.2%, 20%)
CIE-LABlab(53.32, 48.55, 5.44)
CIE-LCHlch(53.32, 48.86, 6.39°)
OKLaboklab(61.66% 0.1478 0.0146)
OKLCHoklch(61.66% 0.148 5.6)
XYZxyz(31.8664, 21.3416, 20.2068)
Luminance0.2134 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5978 #59CCAD
analogous
#CC59B1 #CC5978 #CC7459
triadic
#CC5978 #78CC59 #5978CC
tetradic
#CC5978 #B1CC59 #59CCAD #7459CC
square
#CC5978 #B1CC59 #59CCAD #7459CC
split-complementary
#CC5978 #59CC74 #59B1CC
monochromatic
#832840 #B13658 #CC5978 #DA889E #E9B7C4

Accessibility & contrast

On white

3.99
#CC5978 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#CC5978 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5978
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5978#FFFFFF#000000##000000
##CC59781.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F7179
Deuteranopia (green-blind)
#8D8875
Tritanopia (blue-blind)
#DC4D65
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cc5978;
/* rgb */ color: rgb(204, 89, 120);
/* oklch */ color: oklch(61.7% 0.148 5.6);
Tailwind
colors: {
  custom: {
    50: '#e08c9e',
    500: '#cc5978',
    950: '#000000',
  },
}
SCSS
$custom: #cc5978;
$custom-light: #e08c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5978",
  "rgb": {
    "r": 204,
    "g": 89,
    "b": 120
  },
  "hsl": {
    "h": 343.826,
    "s": 52.995,
    "l": 57.451
  },
  "oklch": {
    "l": 0.61664,
    "c": 0.14848,
    "h": 5.6
  },
  "luminance": 0.21338
}

Semantic roles & 50–950 ramp

primary
#CC5978
secondary
#A9D8CB
accent
#DCB54B
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CC5978

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

Preview Lab → · Contrast checker → · Palette generator →

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