#D97F87#D97F87

#D97F87 is a light, moderate red. Relative luminance 0.317; OKLCH L 69.5% C 0.112 H 14.7°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#D97F87
RGBrgb(217, 127, 135)
HSLhsl(355, 54%, 67%)
HSVhsv(355, 41%, 85%)
CMYKcmyk(0%, 41.5%, 37.8%, 14.9%)
CIE-LABlab(63.08, 35.63, 10.86)
CIE-LCHlch(63.08, 37.25, 16.95°)
OKLaboklab(69.54% 0.1079 0.0283)
OKLCHoklch(69.54% 0.112 14.7)
XYZxyz(40.5797, 31.6832, 26.8952)
Luminance0.3168 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97F87 #7FD9D1
analogous
#D97FB4 #D97F87 #D9A47F
triadic
#D97F87 #87D97F #7F87D9
tetradic
#D97F87 #B4D97F #7FD9D1 #A47FD9
square
#D97F87 #B4D97F #7FD9D1 #A47FD9
split-complementary
#D97F87 #7FD9A4 #7FB4D9
monochromatic
#AB333D #CB505B #D97F87 #E7AEB3 #F5DDDF

Accessibility & contrast

On white

2.86
#D97F87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#D97F87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97F87
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97F87#FFFFFF#000000##000000
##D97F871.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#908E87
Deuteranopia (green-blind)
#A69F85
Tritanopia (blue-blind)
#E97582
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d97f87;
/* rgb */ color: rgb(217, 127, 135);
/* oklch */ color: oklch(69.5% 0.112 14.7);
Tailwind
colors: {
  custom: {
    50: '#e7a5a9',
    500: '#d97f87',
    950: '#000000',
  },
}
SCSS
$custom: #d97f87;
$custom-light: #e7a5a9;
$custom-dark: #000000;
JSON
{
  "hex": "#d97f87",
  "rgb": {
    "r": 217,
    "g": 127,
    "b": 135
  },
  "hsl": {
    "h": 354.667,
    "s": 54.217,
    "l": 67.451
  },
  "oklch": {
    "l": 0.69542,
    "c": 0.11158,
    "h": 14.7
  },
  "luminance": 0.3168
}

Semantic roles & 50–950 ramp

primary
#D97F87
secondary
#CCE8E5
accent
#C2B424
background
#FEFAFA
surface
#FDF4F4
border
#D5CECE
text
#160F10
muted
#847F7F

Preview Lab

Preview with #D97F87

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

Preview Lab → · Contrast checker → · Palette generator →

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