#D987CA#D987CA

#D987CA is a light, vivid pink. Relative luminance 0.363; OKLCH L 73.0% C 0.131 H 333.8°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#D987CA
RGBrgb(217, 135, 202)
HSLhsl(311, 52%, 69%)
HSVhsv(311, 38%, 85%)
CMYKcmyk(0%, 37.8%, 6.9%, 14.9%)
CIE-LABlab(66.78, 41.18, -21.56)
CIE-LCHlch(66.78, 46.48, 332.36°)
OKLaboklab(73.01% 0.1178 -0.0581)
OKLCHoklch(73.01% 0.131 333.8)
XYZxyz(47.9396, 36.3464, 60.3561)
Luminance0.3634 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D987CA #87D996
analogous
#BF87D9 #D987CA #D987A1
triadic
#D987CA #CAD987 #87CAD9
tetradic
#D987CA #D9BF87 #87D996 #87A1D9
square
#D987CA #D9BF87 #87D996 #87A1D9
split-complementary
#D987CA #A1D987 #87D9BF
monochromatic
#AE3799 #CA59B5 #D987CA #E8B5DF #F6E4F3

Accessibility & contrast

On white

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

On black

8.27
#D987CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D987CA
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D987CA#FFFFFF#000000##000000
##D987CA1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d987ca;
/* rgb */ color: rgb(217, 135, 202);
/* oklch */ color: oklch(73.0% 0.131 333.8);
Tailwind
colors: {
  custom: {
    50: '#e6abda',
    500: '#d987ca',
    950: '#000000',
  },
}
SCSS
$custom: #d987ca;
$custom-light: #e6abda;
$custom-dark: #000000;
JSON
{
  "hex": "#d987ca",
  "rgb": {
    "r": 217,
    "g": 135,
    "b": 202
  },
  "hsl": {
    "h": 310.976,
    "s": 51.899,
    "l": 69.02
  },
  "oklch": {
    "l": 0.73009,
    "c": 0.1313,
    "h": 333.8
  },
  "luminance": 0.36344
}

Semantic roles & 50–950 ramp

primary
#D987CA
secondary
#D2EAD6
accent
#BF4226
background
#FEFAFD
surface
#FCF4FA
border
#D5CED3
text
#161014
muted
#847F83

Preview Lab

Preview with #D987CA

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

Preview Lab → · Contrast checker → · Palette generator →

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