#D87EA5#D87EA5

#D87EA5 is a light, vivid pink. Relative luminance 0.322; OKLCH L 70.1% C 0.120 H 353.2°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#D87EA5
RGBrgb(216, 126, 165)
HSLhsl(334, 54%, 67%)
HSVhsv(334, 42%, 85%)
CMYKcmyk(0%, 41.7%, 23.6%, 15.3%)
CIE-LABlab(63.54, 39.71, -5.59)
CIE-LCHlch(63.54, 40.10, 351.99°)
OKLaboklab(70.13% 0.1193 -0.0143)
OKLCHoklch(70.13% 0.12 353.2)
XYZxyz(42.5723, 32.2403, 39.5708)
Luminance0.3224 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87EA5 #7ED8B1
analogous
#D87ED2 #D87EA5 #D8847E
triadic
#D87EA5 #A5D87E #7EA5D8
tetradic
#D87EA5 #D2D87E #7ED8B1 #847ED8
square
#D87EA5 #D2D87E #7ED8B1 #847ED8
split-complementary
#D87EA5 #7ED884 #7ED2D8
monochromatic
#A93366 #CA4F84 #D87EA5 #E6ADC6 #F4DCE7

Accessibility & contrast

On white

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

On black

7.45
#D87EA5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87EA5
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87EA5#FFFFFF#000000##000000
##D87EA51.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8890A6
Deuteranopia (green-blind)
#9FA0A3
Tritanopia (blue-blind)
#E47A8C
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d87ea5;
/* rgb */ color: rgb(216, 126, 165);
/* oklch */ color: oklch(70.1% 0.120 353.2);
Tailwind
colors: {
  custom: {
    50: '#e6a5bf',
    500: '#d87ea5',
    950: '#000000',
  },
}
SCSS
$custom: #d87ea5;
$custom-light: #e6a5bf;
$custom-dark: #000000;
JSON
{
  "hex": "#d87ea5",
  "rgb": {
    "r": 216,
    "g": 126,
    "b": 165
  },
  "hsl": {
    "h": 334,
    "s": 53.571,
    "l": 67.059
  },
  "oklch": {
    "l": 0.70129,
    "c": 0.12017,
    "h": 353.2
  },
  "luminance": 0.32237
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D87EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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