#D87D98#D87D98

#D87D98 is a light, moderate pink. Relative luminance 0.315; OKLCH L 69.6% C 0.116 H 1.5°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#D87D98
RGBrgb(216, 125, 152)
HSLhsl(342, 54%, 67%)
HSVhsv(342, 42%, 85%)
CMYKcmyk(0%, 42.1%, 29.6%, 15.3%)
CIE-LABlab(62.96, 38.44, 0.97)
CIE-LCHlch(62.96, 38.45, 1.44°)
OKLaboklab(69.56% 0.1164 0.0031)
OKLCHoklch(69.56% 0.116 1.5)
XYZxyz(41.3214, 31.5364, 33.6105)
Luminance0.3153 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87D98 #7DD8BD
analogous
#D87DC6 #D87D98 #D8907D
triadic
#D87D98 #98D87D #7D98D8
tetradic
#D87D98 #C6D87D #7DD8BD #907DD8
square
#D87D98 #C6D87D #7DD8BD #907DD8
split-complementary
#D87D98 #7DD890 #7DC6D8
monochromatic
#A83255 #CA4E73 #D87D98 #E6ACBD #F4DBE3

Accessibility & contrast

On white

2.87
#D87D98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#D87D98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87D98
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87D98#FFFFFF#000000##000000
##D87D981.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A8E99
Deuteranopia (green-blind)
#A19F96
Tritanopia (blue-blind)
#E67787
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d87d98;
/* rgb */ color: rgb(216, 125, 152);
/* oklch */ color: oklch(69.6% 0.116 1.5);
Tailwind
colors: {
  custom: {
    50: '#e6a4b6',
    500: '#d87d98',
    950: '#000000',
  },
}
SCSS
$custom: #d87d98;
$custom-light: #e6a4b6;
$custom-dark: #000000;
JSON
{
  "hex": "#d87d98",
  "rgb": {
    "r": 216,
    "g": 125,
    "b": 152
  },
  "hsl": {
    "h": 342.198,
    "s": 53.846,
    "l": 66.863
  },
  "oklch": {
    "l": 0.69564,
    "c": 0.11642,
    "h": 1.5
  },
  "luminance": 0.31533
}

Semantic roles & 50–950 ramp

primary
#D87D98
secondary
#CAE7DE
accent
#C19324
background
#FEFAFB
surface
#FDF4F6
border
#D5CED0
text
#160F11
muted
#847F80

Preview Lab

Preview with #D87D98

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

Preview Lab → · Contrast checker → · Palette generator →

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