#CC578A#CC578A

#CC578A is a mid, vivid pink. Relative luminance 0.215; OKLCH L 62.0% C 0.157 H 355.4°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#CC578A
RGBrgb(204, 87, 138)
HSLhsl(334, 53%, 57%)
HSVhsv(334, 57%, 80%)
CMYKcmyk(0%, 57.4%, 32.4%, 20%)
CIE-LABlab(53.48, 51.56, -5.00)
CIE-LCHlch(53.48, 51.81, 354.46°)
OKLaboklab(61.96% 0.1569 -0.0125)
OKLCHoklch(61.96% 0.157 355.4)
XYZxyz(32.8991, 21.4920, 26.4556)
Luminance0.2149 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC578A #57CC99
analogous
#CC57C5 #CC578A #CC5F57
triadic
#CC578A #8ACC57 #578ACC
tetradic
#CC578A #C5CC57 #57CC99 #5F57CC
square
#CC578A #C5CC57 #57CC99 #5F57CC
split-complementary
#CC578A #57CC5F #57C5CC
monochromatic
#81274F #B0366B #CC578A #DA86AB #E9B5CB

Accessibility & contrast

On white

3.96
#CC578A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#CC578A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC578A
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC578A#FFFFFF#000000##000000
##CC578A1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#69728C
Deuteranopia (green-blind)
#888887
Tritanopia (blue-blind)
#DB4F6B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cc578a;
/* rgb */ color: rgb(204, 87, 138);
/* oklch */ color: oklch(62.0% 0.157 355.4);
Tailwind
colors: {
  custom: {
    50: '#df8bac',
    500: '#cc578a',
    950: '#000000',
  },
}
SCSS
$custom: #cc578a;
$custom-light: #df8bac;
$custom-dark: #000000;
JSON
{
  "hex": "#cc578a",
  "rgb": {
    "r": 204,
    "g": 87,
    "b": 138
  },
  "hsl": {
    "h": 333.846,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61956,
    "c": 0.1574,
    "h": 355.4
  },
  "luminance": 0.21489
}

Semantic roles & 50–950 ramp

primary
#CC578A
secondary
#A8D7C2
accent
#DD9D4B
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CC578A

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

Preview Lab → · Contrast checker → · Palette generator →

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