#CD5987#CD5987

#CD5987 is a light, vivid pink. Relative luminance 0.219; OKLCH L 62.3% C 0.154 H 357.7°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#CD5987
RGBrgb(205, 89, 135)
HSLhsl(336, 54%, 58%)
HSVhsv(336, 57%, 80%)
CMYKcmyk(0%, 56.6%, 34.1%, 19.6%)
CIE-LABlab(53.90, 50.59, -2.60)
CIE-LCHlch(53.90, 50.65, 357.06°)
OKLaboklab(62.26% 0.154 -0.0062)
OKLCHoklch(62.26% 0.154 357.7)
XYZxyz(33.1241, 21.8765, 25.3951)
Luminance0.2187 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5987 #59CD9F
analogous
#CD59C1 #CD5987 #CD6559
triadic
#CD5987 #87CD59 #5987CD
tetradic
#CD5987 #C1CD59 #59CD9F #6559CD
square
#CD5987 #C1CD59 #59CD9F #6559CD
split-complementary
#CD5987 #59CD65 #59C1CD
monochromatic
#84284C #B33667 #CD5987 #DB88A9 #E9B7CB

Accessibility & contrast

On white

3.91
#CD5987 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#CD5987 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5987
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5987#FFFFFF#000000##000000
##CD59871.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7388
Deuteranopia (green-blind)
#8A8984
Tritanopia (blue-blind)
#DC506B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cd5987;
/* rgb */ color: rgb(205, 89, 135);
/* oklch */ color: oklch(62.3% 0.154 357.7);
Tailwind
colors: {
  custom: {
    50: '#e08da9',
    500: '#cd5987',
    950: '#000000',
  },
}
SCSS
$custom: #cd5987;
$custom-light: #e08da9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5987",
  "rgb": {
    "r": 205,
    "g": 89,
    "b": 135
  },
  "hsl": {
    "h": 336.207,
    "s": 53.704,
    "l": 57.647
  },
  "oklch": {
    "l": 0.62263,
    "c": 0.15416,
    "h": 357.7
  },
  "luminance": 0.21873
}

Semantic roles & 50–950 ramp

primary
#CD5987
secondary
#AAD8C6
accent
#DDA34B
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CD5987

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

Preview Lab → · Contrast checker → · Palette generator →

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