#D87F7C#D87F7C

#D87F7C is a light, moderate red. Relative luminance 0.312; OKLCH L 69.1% C 0.111 H 22.4°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#D87F7C
RGBrgb(216, 127, 124)
HSLhsl(2, 54%, 67%)
HSVhsv(2, 43%, 85%)
CMYKcmyk(0%, 41.2%, 42.6%, 15.3%)
CIE-LABlab(62.71, 34.03, 16.57)
CIE-LCHlch(62.71, 37.85, 25.97°)
OKLaboklab(69.15% 0.1025 0.0422)
OKLCHoklch(69.15% 0.111 22.4)
XYZxyz(39.5485, 31.2364, 23.0112)
Luminance0.3123 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D87F7C #7CD5D8
analogous
#D87CA7 #D87F7C #D8AD7C
triadic
#D87F7C #7CD87F #7F7CD8
tetradic
#D87F7C #A7D87C #7CD5D8 #AD7CD8
square
#D87F7C #A7D87C #7CD5D8 #AD7CD8
split-complementary
#D87F7C #7CD8AD #7CA7D8
monochromatic
#A83632 #CA514D #D87F7C #E6ADAB #F4DBDA

Accessibility & contrast

On white

2.90
#D87F7C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#D87F7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D87F7C
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D87F7C#FFFFFF#000000##000000
##D87F7C1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#928D7B
Deuteranopia (green-blind)
#A79F7A
Tritanopia (blue-blind)
#E8747F
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d87f7c;
/* rgb */ color: rgb(216, 127, 124);
/* oklch */ color: oklch(69.1% 0.111 22.4);
Tailwind
colors: {
  custom: {
    50: '#e7a5a1',
    500: '#d87f7c',
    950: '#000000',
  },
}
SCSS
$custom: #d87f7c;
$custom-light: #e7a5a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d87f7c",
  "rgb": {
    "r": 216,
    "g": 127,
    "b": 124
  },
  "hsl": {
    "h": 1.957,
    "s": 54.118,
    "l": 66.667
  },
  "oklch": {
    "l": 0.69149,
    "c": 0.11089,
    "h": 22.4
  },
  "luminance": 0.31233
}

Semantic roles & 50–950 ramp

primary
#D87F7C
secondary
#C9E6E7
accent
#BCC224
background
#FEFAF9
surface
#FDF4F2
border
#D5CECC
text
#160F0F
muted
#847F7E

Preview Lab

Preview with #D87F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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