#CD5787#CD5787

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

Color values

HEX#CD5787
RGBrgb(205, 87, 135)
HSLhsl(336, 54%, 57%)
HSVhsv(336, 58%, 80%)
CMYKcmyk(0%, 57.6%, 34.1%, 19.6%)
CIE-LABlab(53.54, 51.52, -3.12)
CIE-LCHlch(53.54, 51.61, 356.54°)
OKLaboklab(62% 0.1569 -0.0075)
OKLCHoklch(62% 0.157 357.3)
XYZxyz(32.9599, 21.5482, 25.3404)
Luminance0.2155 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5787 #57CD9D
analogous
#CD57C2 #CD5787 #CD6257
triadic
#CD5787 #87CD57 #5787CD
tetradic
#CD5787 #C2CD57 #57CD9D #6257CD
square
#CD5787 #C2CD57 #57CD9D #6257CD
split-complementary
#CD5787 #57CD62 #57C2CD
monochromatic
#83274C #B23568 #CD5787 #DB86A9 #E9B5CA

Accessibility & contrast

On white

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

On black

5.31
#CD5787 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5787
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5787#FFFFFF#000000##000000
##CD57871.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7288
Deuteranopia (green-blind)
#898884
Tritanopia (blue-blind)
#DC4E69
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cd5787;
/* rgb */ color: rgb(205, 87, 135);
/* oklch */ color: oklch(62.0% 0.157 357.3);
Tailwind
colors: {
  custom: {
    50: '#e08ba9',
    500: '#cd5787',
    950: '#000000',
  },
}
SCSS
$custom: #cd5787;
$custom-light: #e08ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5787",
  "rgb": {
    "r": 205,
    "g": 87,
    "b": 135
  },
  "hsl": {
    "h": 335.593,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.62001,
    "c": 0.15712,
    "h": 357.3
  },
  "luminance": 0.21545
}

Semantic roles & 50–950 ramp

primary
#CD5787
secondary
#A8D8C4
accent
#DDA24A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CD5787

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

Preview Lab → · Contrast checker → · Palette generator →

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