#D87E98#D87E98

#D87E98 is a light, moderate pink. Relative luminance 0.318; OKLCH L 69.7% C 0.115 H 1.9°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#D87E98
RGBrgb(216, 126, 152)
HSLhsl(343, 54%, 67%)
HSVhsv(343, 42%, 85%)
CMYKcmyk(0%, 41.7%, 29.6%, 15.3%)
CIE-LABlab(63.17, 37.92, 1.28)
CIE-LCHlch(63.17, 37.94, 1.93°)
OKLaboklab(69.72% 0.1148 0.0039)
OKLCHoklch(69.72% 0.115 1.9)
XYZxyz(41.4487, 31.7909, 33.6529)
Luminance0.3179 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87E98 #7ED8BE
analogous
#D87EC5 #D87E98 #D8917E
triadic
#D87E98 #98D87E #7E98D8
tetradic
#D87E98 #C5D87E #7ED8BE #917ED8
square
#D87E98 #C5D87E #7ED8BE #917ED8
split-complementary
#D87E98 #7ED891 #7EC5D8
monochromatic
#A93355 #CA4F72 #D87E98 #E6ADBE #F4DCE3

Accessibility & contrast

On white

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

On black

7.36
#D87E98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87E98
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87E98#FFFFFF#000000##000000
##D87E981.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B8F99
Deuteranopia (green-blind)
#A29F96
Tritanopia (blue-blind)
#E67887
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d87e98;
/* rgb */ color: rgb(216, 126, 152);
/* oklch */ color: oklch(69.7% 0.115 1.9);
Tailwind
colors: {
  custom: {
    50: '#e6a5b6',
    500: '#d87e98',
    950: '#000000',
  },
}
SCSS
$custom: #d87e98;
$custom-light: #e6a5b6;
$custom-dark: #000000;
JSON
{
  "hex": "#d87e98",
  "rgb": {
    "r": 216,
    "g": 126,
    "b": 152
  },
  "hsl": {
    "h": 342.667,
    "s": 53.571,
    "l": 67.059
  },
  "oklch": {
    "l": 0.69724,
    "c": 0.11485,
    "h": 1.9
  },
  "luminance": 0.31788
}

Semantic roles & 50–950 ramp

primary
#D87E98
secondary
#CBE7DF
accent
#C19424
background
#FEFAFB
surface
#FDF4F6
border
#D5CED0
text
#160F11
muted
#847F80

Preview Lab

Preview with #D87E98

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

Preview Lab → · Contrast checker → · Palette generator →

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