#D87F7E#D87F7E

#D87F7E is a light, moderate red. Relative luminance 0.313; OKLCH L 69.2% C 0.111 H 21.0°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#D87F7E
RGBrgb(216, 127, 126)
HSLhsl(1, 54%, 67%)
HSVhsv(1, 42%, 85%)
CMYKcmyk(0%, 41.2%, 41.7%, 15.3%)
CIE-LABlab(62.75, 34.24, 15.49)
CIE-LCHlch(62.75, 37.59, 24.35°)
OKLaboklab(69.2% 0.1033 0.0396)
OKLCHoklch(69.2% 0.111 21)
XYZxyz(39.6762, 31.2875, 23.6841)
Luminance0.3128 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87F7E #7ED7D8
analogous
#D87EAA #D87F7E #D8AC7E
triadic
#D87F7E #7ED87F #7F7ED8
tetradic
#D87F7E #AAD87E #7ED7D8 #AC7ED8
square
#D87F7E #AAD87E #7ED7D8 #AC7ED8
split-complementary
#D87F7E #7ED8AC #7EAAD8
monochromatic
#A93433 #CA504F #D87F7E #E6AEAD #F4DCDC

Accessibility & contrast

On white

2.89
#D87F7E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#D87F7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87F7E
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87F7E#FFFFFF#000000##000000
##D87F7E1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#918D7D
Deuteranopia (green-blind)
#A79F7C
Tritanopia (blue-blind)
#E8747F
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d87f7e;
/* rgb */ color: rgb(216, 127, 126);
/* oklch */ color: oklch(69.2% 0.111 21.0);
Tailwind
colors: {
  custom: {
    50: '#e7a5a3',
    500: '#d87f7e',
    950: '#000000',
  },
}
SCSS
$custom: #d87f7e;
$custom-light: #e7a5a3;
$custom-dark: #000000;
JSON
{
  "hex": "#d87f7e",
  "rgb": {
    "r": 216,
    "g": 127,
    "b": 126
  },
  "hsl": {
    "h": 0.667,
    "s": 53.571,
    "l": 67.059
  },
  "oklch": {
    "l": 0.69196,
    "c": 0.11066,
    "h": 21
  },
  "luminance": 0.31284
}

Semantic roles & 50–950 ramp

primary
#D87F7E
secondary
#CBE7E7
accent
#BFC124
background
#FEFAFA
surface
#FDF4F3
border
#D5CECD
text
#160F0F
muted
#847F7F

Preview Lab

Preview with #D87F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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