#D87EA3#D87EA3

#D87EA3 is a light, moderate pink. Relative luminance 0.322; OKLCH L 70.1% C 0.119 H 354.5°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#D87EA3
RGBrgb(216, 126, 163)
HSLhsl(335, 54%, 67%)
HSVhsv(335, 42%, 85%)
CMYKcmyk(0%, 41.7%, 24.5%, 15.3%)
CIE-LABlab(63.48, 39.43, -4.54)
CIE-LCHlch(63.48, 39.69, 353.44°)
OKLaboklab(70.06% 0.1186 -0.0115)
OKLCHoklch(70.06% 0.119 354.5)
XYZxyz(42.3917, 32.1681, 38.6195)
Luminance0.3216 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87EA3 #7ED8B3
analogous
#D87ED0 #D87EA3 #D8867E
triadic
#D87EA3 #A3D87E #7EA3D8
tetradic
#D87EA3 #D0D87E #7ED8B3 #867ED8
square
#D87EA3 #D0D87E #7ED8B3 #867ED8
split-complementary
#D87EA3 #7ED886 #7ED0D8
monochromatic
#A93363 #CA4F81 #D87EA3 #E6ADC5 #F4DCE6

Accessibility & contrast

On white

2.83
#D87EA3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#D87EA3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87EA3
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87EA3#FFFFFF#000000##000000
##D87EA31.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8990A4
Deuteranopia (green-blind)
#9FA0A1
Tritanopia (blue-blind)
#E57A8B
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d87ea3;
/* rgb */ color: rgb(216, 126, 163);
/* oklch */ color: oklch(70.1% 0.119 354.5);
Tailwind
colors: {
  custom: {
    50: '#e6a5be',
    500: '#d87ea3',
    950: '#000000',
  },
}
SCSS
$custom: #d87ea3;
$custom-light: #e6a5be;
$custom-dark: #000000;
JSON
{
  "hex": "#d87ea3",
  "rgb": {
    "r": 216,
    "g": 126,
    "b": 163
  },
  "hsl": {
    "h": 335.333,
    "s": 53.571,
    "l": 67.059
  },
  "oklch": {
    "l": 0.70064,
    "c": 0.11919,
    "h": 354.5
  },
  "luminance": 0.32165
}

Semantic roles & 50–950 ramp

primary
#D87EA3
secondary
#CBE7DB
accent
#C18124
background
#FEFAFB
surface
#FDF4F6
border
#D5CED0
text
#160F12
muted
#847F81

Preview Lab

Preview with #D87EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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