#D987CB#D987CB

#D987CB is a light, vivid pink. Relative luminance 0.364; OKLCH L 73.0% C 0.132 H 333.3°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#D987CB
RGBrgb(217, 135, 203)
HSLhsl(310, 52%, 69%)
HSVhsv(310, 38%, 85%)
CMYKcmyk(0%, 37.8%, 6.5%, 14.9%)
CIE-LABlab(66.82, 41.35, -22.07)
CIE-LCHlch(66.82, 46.87, 331.92°)
OKLaboklab(73.05% 0.118 -0.0595)
OKLCHoklch(73.05% 0.132 333.3)
XYZxyz(48.0583, 36.3939, 60.9817)
Luminance0.3639 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D987CB #87D995
analogous
#BE87D9 #D987CB #D987A2
triadic
#D987CB #CBD987 #87CBD9
tetradic
#D987CB #D9BE87 #87D995 #87A2D9
square
#D987CB #D9BE87 #87D995 #87A2D9
split-complementary
#D987CB #A2D987 #87D9BE
monochromatic
#AE379A #CA59B7 #D987CB #E8B5DF #F6E4F3

Accessibility & contrast

On white

2.54
#D987CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#D987CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D987CB
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D987CB#FFFFFF#000000##000000
##D987CB1.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#869BCE
Deuteranopia (green-blind)
#9BA7C8
Tritanopia (blue-blind)
#E08BA0
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d987cb;
/* rgb */ color: rgb(217, 135, 203);
/* oklch */ color: oklch(73.0% 0.132 333.3);
Tailwind
colors: {
  custom: {
    50: '#e6abdb',
    500: '#d987cb',
    950: '#000000',
  },
}
SCSS
$custom: #d987cb;
$custom-light: #e6abdb;
$custom-dark: #000000;
JSON
{
  "hex": "#d987cb",
  "rgb": {
    "r": 217,
    "g": 135,
    "b": 203
  },
  "hsl": {
    "h": 310.244,
    "s": 51.899,
    "l": 69.02
  },
  "oklch": {
    "l": 0.73049,
    "c": 0.13217,
    "h": 333.3
  },
  "luminance": 0.36391
}

Semantic roles & 50–950 ramp

primary
#D987CB
secondary
#D2EAD6
accent
#BF4026
background
#FEFAFD
surface
#FCF4FA
border
#D5CED3
text
#161015
muted
#847F83

Preview Lab

Preview with #D987CB

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

Preview Lab → · Contrast checker → · Palette generator →

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