#D987BE#D987BE

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

Color values

HEX#D987BE
RGBrgb(217, 135, 190)
HSLhsl(320, 52%, 69%)
HSVhsv(320, 38%, 85%)
CMYKcmyk(0%, 37.8%, 12.4%, 14.9%)
CIE-LABlab(66.37, 39.16, -15.48)
CIE-LCHlch(66.37, 42.11, 338.44°)
OKLaboklab(72.56% 0.1144 -0.0412)
OKLCHoklch(72.56% 0.122 340.2)
XYZxyz(46.5736, 35.8000, 53.1622)
Luminance0.3580 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D987BE #87D9A2
analogous
#CB87D9 #D987BE #D98795
triadic
#D987BE #BED987 #87BED9
tetradic
#D987BE #D9CB87 #87D9A2 #8795D9
square
#D987BE #D9CB87 #87D9A2 #8795D9
split-complementary
#D987BE #95D987 #87D9CB
monochromatic
#AE3787 #CA59A5 #D987BE #E8B5D7 #F6E4F0

Accessibility & contrast

On white

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

On black

8.16
#D987BE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D987BE
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D987BE#FFFFFF#000000##000000
##D987BE1.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d987be;
/* rgb */ color: rgb(217, 135, 190);
/* oklch */ color: oklch(72.6% 0.122 340.2);
Tailwind
colors: {
  custom: {
    50: '#e6abd1',
    500: '#d987be',
    950: '#000000',
  },
}
SCSS
$custom: #d987be;
$custom-light: #e6abd1;
$custom-dark: #000000;
JSON
{
  "hex": "#d987be",
  "rgb": {
    "r": 217,
    "g": 135,
    "b": 190
  },
  "hsl": {
    "h": 319.756,
    "s": 51.899,
    "l": 69.02
  },
  "oklch": {
    "l": 0.72557,
    "c": 0.12155,
    "h": 340.2
  },
  "luminance": 0.35797
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D987BE

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

Preview Lab → · Contrast checker → · Palette generator →

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