#CC5786#CC5786

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

Color values

HEX#CC5786
RGBrgb(204, 87, 134)
HSLhsl(336, 53%, 57%)
HSVhsv(336, 57%, 80%)
CMYKcmyk(0%, 57.4%, 34.3%, 20%)
CIE-LABlab(53.36, 51.08, -2.81)
CIE-LCHlch(53.36, 51.16, 356.85°)
OKLaboklab(61.82% 0.1556 -0.0067)
OKLCHoklch(61.82% 0.156 357.5)
XYZxyz(32.6148, 21.3783, 24.9584)
Luminance0.2137 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5786 #57CC9D
analogous
#CC57C1 #CC5786 #CC6257
triadic
#CC5786 #86CC57 #5786CC
tetradic
#CC5786 #C1CC57 #57CC9D #6257CC
square
#CC5786 #C1CC57 #57CC9D #6257CC
split-complementary
#CC5786 #57CC62 #57C1CC
monochromatic
#81274B #B03667 #CC5786 #DA86A8 #E9B5CA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC5786#FFFFFF#000000##000000
##CC57861.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)
#6A7287
Deuteranopia (green-blind)
#898883
Tritanopia (blue-blind)
#DB4E69
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cc5786;
/* rgb */ color: rgb(204, 87, 134);
/* oklch */ color: oklch(61.8% 0.156 357.5);
Tailwind
colors: {
  custom: {
    50: '#df8ba9',
    500: '#cc5786',
    950: '#000000',
  },
}
SCSS
$custom: #cc5786;
$custom-light: #df8ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5786",
  "rgb": {
    "r": 204,
    "g": 87,
    "b": 134
  },
  "hsl": {
    "h": 335.897,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61824,
    "c": 0.15574,
    "h": 357.5
  },
  "luminance": 0.21375
}

Semantic roles & 50–950 ramp

primary
#CC5786
secondary
#A8D7C4
accent
#DDA24B
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CC5786

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

Preview Lab → · Contrast checker → · Palette generator →

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