#CC5787#CC5787

#CC5787 is a mid, vivid pink. Relative luminance 0.214; OKLCH L 61.9% C 0.156 H 357.0°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#CC5787
RGBrgb(204, 87, 135)
HSLhsl(335, 53%, 57%)
HSVhsv(335, 57%, 80%)
CMYKcmyk(0%, 57.4%, 33.8%, 20%)
CIE-LABlab(53.39, 51.20, -3.36)
CIE-LCHlch(53.39, 51.31, 356.25°)
OKLaboklab(61.86% 0.1559 -0.0082)
OKLCHoklch(61.86% 0.156 357)
XYZxyz(32.6849, 21.4064, 25.3275)
Luminance0.2140 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5787 #57CC9C
analogous
#CC57C1 #CC5787 #CC6257
triadic
#CC5787 #87CC57 #5787CC
tetradic
#CC5787 #C1CC57 #57CC9C #6257CC
square
#CC5787 #C1CC57 #57CC9C #6257CC
split-complementary
#CC5787 #57CC62 #57C1CC
monochromatic
#81274C #B03668 #CC5787 #DA86A9 #E9B5CA

Accessibility & contrast

On white

3.98
#CC5787 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#CC5787 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5787
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5787#FFFFFF#000000##000000
##CC57871.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#697288
Deuteranopia (green-blind)
#898884
Tritanopia (blue-blind)
#DB4E69
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cc5787;
/* rgb */ color: rgb(204, 87, 135);
/* oklch */ color: oklch(61.9% 0.156 357.0);
Tailwind
colors: {
  custom: {
    50: '#df8ba9',
    500: '#cc5787',
    950: '#000000',
  },
}
SCSS
$custom: #cc5787;
$custom-light: #df8ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5787",
  "rgb": {
    "r": 204,
    "g": 87,
    "b": 135
  },
  "hsl": {
    "h": 335.385,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61856,
    "c": 0.15613,
    "h": 357
  },
  "luminance": 0.21403
}

Semantic roles & 50–950 ramp

primary
#CC5787
secondary
#A8D7C4
accent
#DDA14B
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CC5787

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

Preview Lab → · Contrast checker → · Palette generator →

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