#D87FA7#D87FA7

#D87FA7 is a light, moderate pink. Relative luminance 0.326; OKLCH L 70.4% C 0.120 H 352.2°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#D87FA7
RGBrgb(216, 127, 167)
HSLhsl(333, 53%, 67%)
HSVhsv(333, 41%, 85%)
CMYKcmyk(0%, 41.2%, 22.7%, 15.3%)
CIE-LABlab(63.81, 39.48, -6.32)
CIE-LCHlch(63.81, 39.98, 350.90°)
OKLaboklab(70.35% 0.1184 -0.0162)
OKLCHoklch(70.35% 0.12 352.2)
XYZxyz(42.8843, 32.5707, 40.5798)
Luminance0.3257 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87FA7 #7FD8B0
analogous
#D87FD3 #D87FA7 #D8847F
triadic
#D87FA7 #A7D87F #7FA7D8
tetradic
#D87FA7 #D3D87F #7FD8B0 #847FD8
square
#D87FA7 #D3D87F #7FD8B0 #847FD8
split-complementary
#D87FA7 #7FD884 #7FD3D8
monochromatic
#A93468 #CA5087 #D87FA7 #E6AEC7 #F5DDE7

Accessibility & contrast

On white

2.79
#D87FA7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#D87FA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87FA7
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87FA7#FFFFFF#000000##000000
##D87FA71.002.797.517.51
#FFFFFF2.791.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8991A8
Deuteranopia (green-blind)
#9FA0A5
Tritanopia (blue-blind)
#E47C8D
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d87fa7;
/* rgb */ color: rgb(216, 127, 167);
/* oklch */ color: oklch(70.4% 0.120 352.2);
Tailwind
colors: {
  custom: {
    50: '#e6a6c1',
    500: '#d87fa7',
    950: '#000000',
  },
}
SCSS
$custom: #d87fa7;
$custom-light: #e6a6c1;
$custom-dark: #000000;
JSON
{
  "hex": "#d87fa7",
  "rgb": {
    "r": 216,
    "g": 127,
    "b": 167
  },
  "hsl": {
    "h": 333.034,
    "s": 53.293,
    "l": 67.255
  },
  "oklch": {
    "l": 0.70354,
    "c": 0.11953,
    "h": 352.2
  },
  "luminance": 0.32568
}

Semantic roles & 50–950 ramp

primary
#D87FA7
secondary
#CBE7DB
accent
#C17B25
background
#FEFAFB
surface
#FDF4F7
border
#D5CED0
text
#160F12
muted
#847F81

Preview Lab

Preview with #D87FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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