#D87E9B#D87E9B

#D87E9B is a light, moderate pink. Relative luminance 0.319; OKLCH L 69.8% C 0.116 H 359.8°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#D87E9B
RGBrgb(216, 126, 155)
HSLhsl(341, 54%, 67%)
HSVhsv(341, 42%, 85%)
CMYKcmyk(0%, 41.7%, 28.2%, 15.3%)
CIE-LABlab(63.25, 38.32, -0.31)
CIE-LCHlch(63.25, 38.32, 359.53°)
OKLaboklab(69.81% 0.1159 -0.0003)
OKLCHoklch(69.81% 0.116 359.8)
XYZxyz(41.6975, 31.8904, 34.9633)
Luminance0.3189 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87E9B #7ED8BB
analogous
#D87EC8 #D87E9B #D88E7E
triadic
#D87E9B #9BD87E #7E9BD8
tetradic
#D87E9B #C8D87E #7ED8BB #8E7ED8
square
#D87E9B #C8D87E #7ED8BB #8E7ED8
split-complementary
#D87E9B #7ED88E #7EC8D8
monochromatic
#A93359 #CA4F77 #D87E9B #E6ADBF #F4DCE4

Accessibility & contrast

On white

2.85
#D87E9B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#D87E9B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87E9B
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87E9B#FFFFFF#000000##000000
##D87E9B1.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B8F9C
Deuteranopia (green-blind)
#A19F99
Tritanopia (blue-blind)
#E67888
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d87e9b;
/* rgb */ color: rgb(216, 126, 155);
/* oklch */ color: oklch(69.8% 0.116 359.8);
Tailwind
colors: {
  custom: {
    50: '#e6a5b8',
    500: '#d87e9b',
    950: '#000000',
  },
}
SCSS
$custom: #d87e9b;
$custom-light: #e6a5b8;
$custom-dark: #000000;
JSON
{
  "hex": "#d87e9b",
  "rgb": {
    "r": 216,
    "g": 126,
    "b": 155
  },
  "hsl": {
    "h": 340.667,
    "s": 53.571,
    "l": 67.059
  },
  "oklch": {
    "l": 0.69814,
    "c": 0.11587,
    "h": 359.8
  },
  "luminance": 0.31887
}

Semantic roles & 50–950 ramp

primary
#D87E9B
secondary
#CBE7DE
accent
#C18F24
background
#FEFAFB
surface
#FDF4F6
border
#D5CED0
text
#160F11
muted
#847F80

Preview Lab

Preview with #D87E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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