#D87EA2#D87EA2

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

Color values

HEX#D87EA2
RGBrgb(216, 126, 162)
HSLhsl(336, 54%, 67%)
HSVhsv(336, 42%, 85%)
CMYKcmyk(0%, 41.7%, 25%, 15.3%)
CIE-LABlab(63.45, 39.28, -4.01)
CIE-LCHlch(63.45, 39.49, 354.17°)
OKLaboklab(70.03% 0.1183 -0.0101)
OKLCHoklch(70.03% 0.119 355.1)
XYZxyz(42.3025, 32.1324, 38.1495)
Luminance0.3213 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87EA2 #7ED8B4
analogous
#D87ECF #D87EA2 #D8877E
triadic
#D87EA2 #A2D87E #7EA2D8
tetradic
#D87EA2 #CFD87E #7ED8B4 #877ED8
square
#D87EA2 #CFD87E #7ED8B4 #877ED8
split-complementary
#D87EA2 #7ED887 #7ECFD8
monochromatic
#A93362 #CA4F80 #D87EA2 #E6ADC4 #F4DCE6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D87EA2#FFFFFF#000000##000000
##D87EA21.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)
#8990A3
Deuteranopia (green-blind)
#A0A0A0
Tritanopia (blue-blind)
#E57A8B
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d87ea2;
/* rgb */ color: rgb(216, 126, 162);
/* oklch */ color: oklch(70.0% 0.119 355.1);
Tailwind
colors: {
  custom: {
    50: '#e6a5bd',
    500: '#d87ea2',
    950: '#000000',
  },
}
SCSS
$custom: #d87ea2;
$custom-light: #e6a5bd;
$custom-dark: #000000;
JSON
{
  "hex": "#d87ea2",
  "rgb": {
    "r": 216,
    "g": 126,
    "b": 162
  },
  "hsl": {
    "h": 336,
    "s": 53.571,
    "l": 67.059
  },
  "oklch": {
    "l": 0.70032,
    "c": 0.11873,
    "h": 355.1
  },
  "luminance": 0.32129
}

Semantic roles & 50–950 ramp

primary
#D87EA2
secondary
#CBE7DC
accent
#C18224
background
#FEFAFB
surface
#FDF4F6
border
#D5CED0
text
#160F12
muted
#847F81

Preview Lab

Preview with #D87EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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