#D7997F#D7997F

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

Color values

HEX#D7997F
RGBrgb(215, 153, 127)
HSLhsl(18, 52%, 67%)
HSVhsv(18, 41%, 84%)
CMYKcmyk(0%, 28.8%, 40.9%, 15.7%)
CIE-LABlab(68.58, 20.00, 22.91)
CIE-LCHlch(68.58, 30.41, 48.87°)
OKLaboklab(73.67% 0.0603 0.0576)
OKLCHoklch(73.67% 0.083 43.7)
XYZxyz(43.2481, 38.7647, 25.2790)
Luminance0.3876 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7997F #7FBDD7
analogous
#D77F91 #D7997F #D7C57F
triadic
#D7997F #7FD799 #997FD7
tetradic
#D7997F #91D77F #7FBDD7 #C57FD7
square
#D7997F #91D77F #7FBDD7 #C57FD7
split-complementary
#D7997F #7FD7C5 #7F91D7
monochromatic
#A75634 #C87450 #D7997F #E6BEAE #F4E3DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7997F#FFFFFF#000000##000000
##D7997F1.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)
#A9A07D
Deuteranopia (green-blind)
#B7AC7F
Tritanopia (blue-blind)
#E68F92
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d7997f;
/* rgb */ color: rgb(215, 153, 127);
/* oklch */ color: oklch(73.7% 0.083 43.7);
Tailwind
colors: {
  custom: {
    50: '#e5b7a4',
    500: '#d7997f',
    950: '#000000',
  },
}
SCSS
$custom: #d7997f;
$custom-light: #e5b7a4;
$custom-dark: #000000;
JSON
{
  "hex": "#d7997f",
  "rgb": {
    "r": 215,
    "g": 153,
    "b": 127
  },
  "hsl": {
    "h": 17.727,
    "s": 52.381,
    "l": 67.059
  },
  "oklch": {
    "l": 0.73666,
    "c": 0.08341,
    "h": 43.7
  },
  "luminance": 0.38762
}

Semantic roles & 50–950 ramp

primary
#D7997F
secondary
#CBDFE7
accent
#92C026
background
#FEFBFA
surface
#FDF6F4
border
#D5D0CE
text
#16110F
muted
#84807F

Preview Lab

Preview with #D7997F

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

Preview Lab → · Contrast checker → · Palette generator →

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