#D87EA7#D87EA7

#D87EA7 is a light, vivid pink. Relative luminance 0.323; OKLCH L 70.2% C 0.121 H 351.9°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#D87EA7
RGBrgb(216, 126, 167)
HSLhsl(333, 54%, 67%)
HSVhsv(333, 42%, 85%)
CMYKcmyk(0%, 41.7%, 22.7%, 15.3%)
CIE-LABlab(63.60, 40.00, -6.63)
CIE-LCHlch(63.60, 40.55, 350.58°)
OKLaboklab(70.19% 0.12 -0.0171)
OKLCHoklch(70.19% 0.121 351.9)
XYZxyz(42.7558, 32.3137, 40.5370)
Luminance0.3231 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87EA7 #7ED8AF
analogous
#D87ED4 #D87EA7 #D8827E
triadic
#D87EA7 #A7D87E #7EA7D8
tetradic
#D87EA7 #D4D87E #7ED8AF #827ED8
square
#D87EA7 #D4D87E #7ED8AF #827ED8
split-complementary
#D87EA7 #7ED882 #7ED4D8
monochromatic
#A93369 #CA4F87 #D87EA7 #E6ADC7 #F4DCE7

Accessibility & contrast

On white

2.81
#D87EA7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#D87EA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87EA7
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87EA7#FFFFFF#000000##000000
##D87EA71.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8890A8
Deuteranopia (green-blind)
#9EA0A5
Tritanopia (blue-blind)
#E47B8D
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d87ea7;
/* rgb */ color: rgb(216, 126, 167);
/* oklch */ color: oklch(70.2% 0.121 351.9);
Tailwind
colors: {
  custom: {
    50: '#e6a5c1',
    500: '#d87ea7',
    950: '#000000',
  },
}
SCSS
$custom: #d87ea7;
$custom-light: #e6a5c1;
$custom-dark: #000000;
JSON
{
  "hex": "#d87ea7",
  "rgb": {
    "r": 216,
    "g": 126,
    "b": 167
  },
  "hsl": {
    "h": 332.667,
    "s": 53.571,
    "l": 67.059
  },
  "oklch": {
    "l": 0.70194,
    "c": 0.12119,
    "h": 351.9
  },
  "luminance": 0.32311
}

Semantic roles & 50–950 ramp

primary
#D87EA7
secondary
#CBE7DA
accent
#C17A24
background
#FEFAFB
surface
#FDF4F7
border
#D5CED0
text
#160F12
muted
#847F81

Preview Lab

Preview with #D87EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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