#D987BC#D987BC

#D987BC is a light, vivid pink. Relative luminance 0.357; OKLCH L 72.5% C 0.120 H 341.4°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#D987BC
RGBrgb(217, 135, 188)
HSLhsl(321, 52%, 69%)
HSVhsv(321, 38%, 85%)
CMYKcmyk(0%, 37.8%, 13.4%, 14.9%)
CIE-LABlab(66.30, 38.83, -14.45)
CIE-LCHlch(66.30, 41.44, 339.59°)
OKLaboklab(72.48% 0.1138 -0.0384)
OKLCHoklch(72.48% 0.12 341.4)
XYZxyz(46.3565, 35.7131, 52.0188)
Luminance0.3571 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D987BC #87D9A4
analogous
#CD87D9 #D987BC #D98793
triadic
#D987BC #BCD987 #87BCD9
tetradic
#D987BC #D9CD87 #87D9A4 #8793D9
square
#D987BC #D9CD87 #87D9A4 #8793D9
split-complementary
#D987BC #93D987 #87D9CD
monochromatic
#AE3784 #CA59A2 #D987BC #E8B5D6 #F6E4F0

Accessibility & contrast

On white

2.58
#D987BC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#D987BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D987BC
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D987BC#FFFFFF#000000##000000
##D987BC1.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B99BE
Deuteranopia (green-blind)
#9FA6BA
Tritanopia (blue-blind)
#E2889A
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d987bc;
/* rgb */ color: rgb(217, 135, 188);
/* oklch */ color: oklch(72.5% 0.120 341.4);
Tailwind
colors: {
  custom: {
    50: '#e6abd0',
    500: '#d987bc',
    950: '#000000',
  },
}
SCSS
$custom: #d987bc;
$custom-light: #e6abd0;
$custom-dark: #000000;
JSON
{
  "hex": "#d987bc",
  "rgb": {
    "r": 217,
    "g": 135,
    "b": 188
  },
  "hsl": {
    "h": 321.22,
    "s": 51.899,
    "l": 69.02
  },
  "oklch": {
    "l": 0.72484,
    "c": 0.12006,
    "h": 341.4
  },
  "luminance": 0.3571
}

Semantic roles & 50–950 ramp

primary
#D987BC
secondary
#D2EADA
accent
#BF5C26
background
#FEFAFC
surface
#FCF4F9
border
#D5CED2
text
#161014
muted
#847F82

Preview Lab

Preview with #D987BC

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

Preview Lab → · Contrast checker → · Palette generator →

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