#D87EA8#D87EA8

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

Color values

HEX#D87EA8
RGBrgb(216, 126, 168)
HSLhsl(332, 54%, 67%)
HSVhsv(332, 42%, 85%)
CMYKcmyk(0%, 41.7%, 22.2%, 15.3%)
CIE-LABlab(63.63, 40.15, -7.16)
CIE-LCHlch(63.63, 40.78, 349.89°)
OKLaboklab(70.23% 0.1203 -0.0185)
OKLCHoklch(70.23% 0.122 351.3)
XYZxyz(42.8486, 32.3508, 41.0257)
Luminance0.3235 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87EA8 #7ED8AE
analogous
#D87ED5 #D87EA8 #D8817E
triadic
#D87EA8 #A8D87E #7EA8D8
tetradic
#D87EA8 #D5D87E #7ED8AE #817ED8
square
#D87EA8 #D5D87E #7ED8AE #817ED8
split-complementary
#D87EA8 #7ED881 #7ED5D8
monochromatic
#A9336A #CA4F88 #D87EA8 #E6ADC8 #F4DCE7

Accessibility & contrast

On white

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

On black

7.47
#D87EA8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87EA8
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87EA8#FFFFFF#000000##000000
##D87EA81.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8791A9
Deuteranopia (green-blind)
#9EA0A6
Tritanopia (blue-blind)
#E47B8D
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d87ea8;
/* rgb */ color: rgb(216, 126, 168);
/* oklch */ color: oklch(70.2% 0.122 351.3);
Tailwind
colors: {
  custom: {
    50: '#e6a5c1',
    500: '#d87ea8',
    950: '#000000',
  },
}
SCSS
$custom: #d87ea8;
$custom-light: #e6a5c1;
$custom-dark: #000000;
JSON
{
  "hex": "#d87ea8",
  "rgb": {
    "r": 216,
    "g": 126,
    "b": 168
  },
  "hsl": {
    "h": 332,
    "s": 53.571,
    "l": 67.059
  },
  "oklch": {
    "l": 0.70227,
    "c": 0.12172,
    "h": 351.3
  },
  "luminance": 0.32348
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D87EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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