#D97F5F#D97F5F

#D97F5F is a light, vivid orange. Relative luminance 0.308; OKLCH L 68.7% C 0.121 H 40.2°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#D97F5F
RGBrgb(217, 127, 95)
HSLhsl(16, 62%, 61%)
HSVhsv(16, 56%, 85%)
CMYKcmyk(0%, 41.5%, 56.2%, 14.9%)
CIE-LABlab(62.30, 31.70, 32.30)
CIE-LCHlch(62.30, 45.26, 45.54°)
OKLaboklab(68.69% 0.0922 0.0779)
OKLCHoklch(68.69% 0.121 40.2)
XYZxyz(38.2729, 30.7604, 14.7460)
Luminance0.3076 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97F5F #5FB9D9
analogous
#D95F7C #D97F5F #D9BC5F
triadic
#D97F5F #5FD97F #7F5FD9
tetradic
#D97F5F #7CD95F #5FB9D9 #BC5FD9
square
#D97F5F #7CD95F #5FB9D9 #BC5FD9
split-complementary
#D97F5F #5FD9BC #5F7CD9
monochromatic
#994324 #CB5930 #D97F5F #E5A790 #F0CEC2

Accessibility & contrast

On white

2.94
#D97F5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#D97F5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97F5F
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97F5F#FFFFFF#000000##000000
##D97F5F1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#968B5C
Deuteranopia (green-blind)
#AC9E5E
Tritanopia (blue-blind)
#EB6F77
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d97f5f;
/* rgb */ color: rgb(217, 127, 95);
/* oklch */ color: oklch(68.7% 0.121 40.2);
Tailwind
colors: {
  custom: {
    50: '#e9a58d',
    500: '#d97f5f',
    950: '#000000',
  },
}
SCSS
$custom: #d97f5f;
$custom-light: #e9a58d;
$custom-dark: #000000;
JSON
{
  "hex": "#d97f5f",
  "rgb": {
    "r": 217,
    "g": 127,
    "b": 95
  },
  "hsl": {
    "h": 15.738,
    "s": 61.616,
    "l": 61.176
  },
  "oklch": {
    "l": 0.68695,
    "c": 0.12073,
    "h": 40.2
  },
  "luminance": 0.30757
}

Semantic roles & 50–950 ramp

primary
#D97F5F
secondary
#B3D5E1
accent
#9CC91C
background
#FEFAF8
surface
#FDF4F0
border
#D5CECB
text
#170F0C
muted
#857F7D

Preview Lab

Preview with #D97F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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