#CC5789#CC5789

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

Color values

HEX#CC5789
RGBrgb(204, 87, 137)
HSLhsl(334, 53%, 57%)
HSVhsv(334, 57%, 80%)
CMYKcmyk(0%, 57.4%, 32.8%, 20%)
CIE-LABlab(53.45, 51.44, -4.45)
CIE-LCHlch(53.45, 51.63, 355.05°)
OKLaboklab(61.92% 0.1566 -0.0111)
OKLCHoklch(61.92% 0.157 356)
XYZxyz(32.8270, 21.4632, 26.0761)
Luminance0.2146 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5789 #57CC9A
analogous
#CC57C4 #CC5789 #CC6057
triadic
#CC5789 #89CC57 #5789CC
tetradic
#CC5789 #C4CC57 #57CC9A #6057CC
square
#CC5789 #C4CC57 #57CC9A #6057CC
split-complementary
#CC5789 #57CC60 #57C4CC
monochromatic
#81274E #B0366A #CC5789 #DA86AA #E9B5CB

Accessibility & contrast

On white

3.97
#CC5789 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#CC5789 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5789
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5789#FFFFFF#000000##000000
##CC57891.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#69728B
Deuteranopia (green-blind)
#888886
Tritanopia (blue-blind)
#DB4F6A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cc5789;
/* rgb */ color: rgb(204, 87, 137);
/* oklch */ color: oklch(61.9% 0.157 356.0);
Tailwind
colors: {
  custom: {
    50: '#df8bab',
    500: '#cc5789',
    950: '#000000',
  },
}
SCSS
$custom: #cc5789;
$custom-light: #df8bab;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5789",
  "rgb": {
    "r": 204,
    "g": 87,
    "b": 137
  },
  "hsl": {
    "h": 334.359,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61922,
    "c": 0.15697,
    "h": 356
  },
  "luminance": 0.2146
}

Semantic roles & 50–950 ramp

primary
#CC5789
secondary
#A8D7C3
accent
#DD9E4B
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CC5789

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

Preview Lab → · Contrast checker → · Palette generator →

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