#D9987F#D9987F

#D9987F is a light, moderate orange. Relative luminance 0.387; OKLCH L 73.7% C 0.086 H 41.9°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#D9987F
RGBrgb(217, 152, 127)
HSLhsl(17, 54%, 67%)
HSVhsv(17, 41%, 85%)
CMYKcmyk(0%, 30%, 41.5%, 14.9%)
CIE-LABlab(68.57, 21.33, 22.92)
CIE-LCHlch(68.57, 31.31, 47.06°)
OKLaboklab(73.7% 0.0642 0.0576)
OKLCHoklch(73.7% 0.086 41.9)
XYZxyz(43.6761, 38.7435, 25.2524)
Luminance0.3874 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9987F #7FC0D9
analogous
#D97F93 #D9987F #D9C57F
triadic
#D9987F #7FD998 #987FD9
tetradic
#D9987F #93D97F #7FC0D9 #C57FD9
square
#D9987F #93D97F #7FC0D9 #C57FD9
split-complementary
#D9987F #7FD9C5 #7F93D9
monochromatic
#AB5433 #CB7250 #D9987F #E7BEAE #F5E4DD

Accessibility & contrast

On white

2.40
#D9987F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#D9987F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9987F
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9987F#FFFFFF#000000##000000
##D9987F1.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89F7D
Deuteranopia (green-blind)
#B8AD7F
Tritanopia (blue-blind)
#E88E91
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d9987f;
/* rgb */ color: rgb(217, 152, 127);
/* oklch */ color: oklch(73.7% 0.086 41.9);
Tailwind
colors: {
  custom: {
    50: '#e7b6a4',
    500: '#d9987f',
    950: '#000000',
  },
}
SCSS
$custom: #d9987f;
$custom-light: #e7b6a4;
$custom-dark: #000000;
JSON
{
  "hex": "#d9987f",
  "rgb": {
    "r": 217,
    "g": 152,
    "b": 127
  },
  "hsl": {
    "h": 16.667,
    "s": 54.217,
    "l": 67.451
  },
  "oklch": {
    "l": 0.73703,
    "c": 0.0863,
    "h": 41.9
  },
  "luminance": 0.3874
}

Semantic roles & 50–950 ramp

primary
#D9987F
secondary
#CCE0E8
accent
#96C224
background
#FEFBFA
surface
#FDF6F4
border
#D5D0CE
text
#16110F
muted
#84807F

Preview Lab

Preview with #D9987F

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

Preview Lab → · Contrast checker → · Palette generator →

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