#D987BF#D987BF

#D987BF is a light, vivid pink. Relative luminance 0.358; OKLCH L 72.6% C 0.122 H 339.6°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#D987BF
RGBrgb(217, 135, 191)
HSLhsl(319, 52%, 69%)
HSVhsv(319, 38%, 85%)
CMYKcmyk(0%, 37.8%, 12%, 14.9%)
CIE-LABlab(66.40, 39.32, -15.99)
CIE-LCHlch(66.40, 42.45, 337.88°)
OKLaboklab(72.59% 0.1147 -0.0426)
OKLCHoklch(72.59% 0.122 339.6)
XYZxyz(46.6833, 35.8438, 53.7397)
Luminance0.3584 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D987BF #87D9A1
analogous
#CA87D9 #D987BF #D98796
triadic
#D987BF #BFD987 #87BFD9
tetradic
#D987BF #D9CA87 #87D9A1 #8796D9
square
#D987BF #D9CA87 #87D9A1 #8796D9
split-complementary
#D987BF #96D987 #87D9CA
monochromatic
#AE3789 #CA59A6 #D987BF #E8B5D8 #F6E4F1

Accessibility & contrast

On white

2.57
#D987BF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#D987BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D987BF
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D987BF#FFFFFF#000000##000000
##D987BF1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A9AC1
Deuteranopia (green-blind)
#9FA6BD
Tritanopia (blue-blind)
#E2889B
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d987bf;
/* rgb */ color: rgb(217, 135, 191);
/* oklch */ color: oklch(72.6% 0.122 339.6);
Tailwind
colors: {
  custom: {
    50: '#e6abd2',
    500: '#d987bf',
    950: '#000000',
  },
}
SCSS
$custom: #d987bf;
$custom-light: #e6abd2;
$custom-dark: #000000;
JSON
{
  "hex": "#d987bf",
  "rgb": {
    "r": 217,
    "g": 135,
    "b": 191
  },
  "hsl": {
    "h": 319.024,
    "s": 51.899,
    "l": 69.02
  },
  "oklch": {
    "l": 0.72593,
    "c": 0.12231,
    "h": 339.6
  },
  "luminance": 0.35841
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D987BF

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

Preview Lab → · Contrast checker → · Palette generator →

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