#D87EA6#D87EA6

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

Color values

HEX#D87EA6
RGBrgb(216, 126, 166)
HSLhsl(333, 54%, 67%)
HSVhsv(333, 42%, 85%)
CMYKcmyk(0%, 41.7%, 23.1%, 15.3%)
CIE-LABlab(63.57, 39.85, -6.11)
CIE-LCHlch(63.57, 40.32, 351.28°)
OKLaboklab(70.16% 0.1197 -0.0157)
OKLCHoklch(70.16% 0.121 352.5)
XYZxyz(42.6637, 32.2769, 40.0520)
Luminance0.3227 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87EA6 #7ED8B0
analogous
#D87ED3 #D87EA6 #D8837E
triadic
#D87EA6 #A6D87E #7EA6D8
tetradic
#D87EA6 #D3D87E #7ED8B0 #837ED8
square
#D87EA6 #D3D87E #7ED8B0 #837ED8
split-complementary
#D87EA6 #7ED883 #7ED3D8
monochromatic
#A93367 #CA4F86 #D87EA6 #E6ADC6 #F4DCE7

Accessibility & contrast

On white

2.82
#D87EA6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#D87EA6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87EA6
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87EA6#FFFFFF#000000##000000
##D87EA61.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8890A7
Deuteranopia (green-blind)
#9FA0A4
Tritanopia (blue-blind)
#E47B8C
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d87ea6;
/* rgb */ color: rgb(216, 126, 166);
/* oklch */ color: oklch(70.2% 0.121 352.5);
Tailwind
colors: {
  custom: {
    50: '#e6a5c0',
    500: '#d87ea6',
    950: '#000000',
  },
}
SCSS
$custom: #d87ea6;
$custom-light: #e6a5c0;
$custom-dark: #000000;
JSON
{
  "hex": "#d87ea6",
  "rgb": {
    "r": 216,
    "g": 126,
    "b": 166
  },
  "hsl": {
    "h": 333.333,
    "s": 53.571,
    "l": 67.059
  },
  "oklch": {
    "l": 0.70161,
    "c": 0.12067,
    "h": 352.5
  },
  "luminance": 0.32274
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D87EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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