#D87E8D#D87E8D

#D87E8D is a light, moderate red. Relative luminance 0.314; OKLCH L 69.4% C 0.112 H 9.7°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#D87E8D
RGBrgb(216, 126, 141)
HSLhsl(350, 54%, 67%)
HSVhsv(350, 42%, 85%)
CMYKcmyk(0%, 41.7%, 34.7%, 15.3%)
CIE-LABlab(62.88, 36.51, 7.14)
CIE-LCHlch(62.88, 37.20, 11.06°)
OKLaboklab(69.41% 0.1107 0.0189)
OKLCHoklch(69.41% 0.112 9.7)
XYZxyz(40.5892, 31.4471, 29.1263)
Luminance0.3144 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87E8D #7ED8C9
analogous
#D87EBA #D87E8D #D89C7E
triadic
#D87E8D #8DD87E #7E8DD8
tetradic
#D87E8D #BAD87E #7ED8C9 #9C7ED8
square
#D87E8D #BAD87E #7ED8C9 #9C7ED8
split-complementary
#D87E8D #7ED89C #7EBAD8
monochromatic
#A93347 #CA4F63 #D87E8D #E6ADB7 #F4DCE0

Accessibility & contrast

On white

2.88
#D87E8D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#D87E8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87E8D
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87E8D#FFFFFF#000000##000000
##D87E8D1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8E8D
Deuteranopia (green-blind)
#A49F8B
Tritanopia (blue-blind)
#E77683
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d87e8d;
/* rgb */ color: rgb(216, 126, 141);
/* oklch */ color: oklch(69.4% 0.112 9.7);
Tailwind
colors: {
  custom: {
    50: '#e6a5ae',
    500: '#d87e8d',
    950: '#000000',
  },
}
SCSS
$custom: #d87e8d;
$custom-light: #e6a5ae;
$custom-dark: #000000;
JSON
{
  "hex": "#d87e8d",
  "rgb": {
    "r": 216,
    "g": 126,
    "b": 141
  },
  "hsl": {
    "h": 350,
    "s": 53.571,
    "l": 67.059
  },
  "oklch": {
    "l": 0.69412,
    "c": 0.11233,
    "h": 9.7
  },
  "luminance": 0.31444
}

Semantic roles & 50–950 ramp

primary
#D87E8D
secondary
#CBE7E2
accent
#C1A724
background
#FEFAFA
surface
#FDF4F4
border
#D5CECE
text
#160F10
muted
#847F7F

Preview Lab

Preview with #D87E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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