#D87F9D#D87F9D

#D87F9D is a light, moderate pink. Relative luminance 0.322; OKLCH L 70.0% C 0.115 H 358.9°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#D87F9D
RGBrgb(216, 127, 157)
HSLhsl(340, 53%, 67%)
HSVhsv(340, 41%, 85%)
CMYKcmyk(0%, 41.2%, 27.3%, 15.3%)
CIE-LABlab(63.52, 38.06, -1.06)
CIE-LCHlch(63.52, 38.08, 358.40°)
OKLaboklab(70.04% 0.115 -0.0023)
OKLCHoklch(70.04% 0.115 358.9)
XYZxyz(41.9953, 32.2151, 35.8980)
Luminance0.3221 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87F9D #7FD8BA
analogous
#D87FCA #D87F9D #D88E7F
triadic
#D87F9D #9DD87F #7F9DD8
tetradic
#D87F9D #CAD87F #7FD8BA #8E7FD8
square
#D87F9D #CAD87F #7FD8BA #8E7FD8
split-complementary
#D87F9D #7FD88E #7FCAD8
monochromatic
#A9345B #CA5079 #D87F9D #E6AEC1 #F5DDE5

Accessibility & contrast

On white

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

On black

7.44
#D87F9D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87F9D
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87F9D#FFFFFF#000000##000000
##D87F9D1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B909E
Deuteranopia (green-blind)
#A1A09B
Tritanopia (blue-blind)
#E57A8A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d87f9d;
/* rgb */ color: rgb(216, 127, 157);
/* oklch */ color: oklch(70.0% 0.115 358.9);
Tailwind
colors: {
  custom: {
    50: '#e6a5b9',
    500: '#d87f9d',
    950: '#000000',
  },
}
SCSS
$custom: #d87f9d;
$custom-light: #e6a5b9;
$custom-dark: #000000;
JSON
{
  "hex": "#d87f9d",
  "rgb": {
    "r": 216,
    "g": 127,
    "b": 157
  },
  "hsl": {
    "h": 339.775,
    "s": 53.293,
    "l": 67.255
  },
  "oklch": {
    "l": 0.70036,
    "c": 0.11501,
    "h": 358.9
  },
  "luminance": 0.32212
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D87F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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