#D97E87#D97E87

#D97E87 is a light, moderate red. Relative luminance 0.314; OKLCH L 69.4% C 0.113 H 14.1°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#D97E87
RGBrgb(217, 126, 135)
HSLhsl(354, 54%, 67%)
HSVhsv(354, 42%, 85%)
CMYKcmyk(0%, 41.9%, 37.8%, 14.9%)
CIE-LABlab(62.87, 36.16, 10.55)
CIE-LCHlch(62.87, 37.67, 16.27°)
OKLaboklab(69.38% 0.1095 0.0275)
OKLCHoklch(69.38% 0.113 14.1)
XYZxyz(40.4512, 31.4261, 26.8524)
Luminance0.3142 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97E87 #7ED9D0
analogous
#D97EB5 #D97E87 #D9A37E
triadic
#D97E87 #87D97E #7E87D9
tetradic
#D97E87 #B5D97E #7ED9D0 #A37ED9
square
#D97E87 #B5D97E #7ED9D0 #A37ED9
split-complementary
#D97E87 #7ED9A3 #7EB5D9
monochromatic
#AA323E #CB4F5B #D97E87 #E7ADB3 #F5DDDF

Accessibility & contrast

On white

2.88
#D97E87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#D97E87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97E87
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97E87#FFFFFF#000000##000000
##D97E871.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8D87
Deuteranopia (green-blind)
#A69F85
Tritanopia (blue-blind)
#E97481
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d97e87;
/* rgb */ color: rgb(217, 126, 135);
/* oklch */ color: oklch(69.4% 0.113 14.1);
Tailwind
colors: {
  custom: {
    50: '#e7a5a9',
    500: '#d97e87',
    950: '#000000',
  },
}
SCSS
$custom: #d97e87;
$custom-light: #e7a5a9;
$custom-dark: #000000;
JSON
{
  "hex": "#d97e87",
  "rgb": {
    "r": 217,
    "g": 126,
    "b": 135
  },
  "hsl": {
    "h": 354.066,
    "s": 54.491,
    "l": 67.255
  },
  "oklch": {
    "l": 0.69378,
    "c": 0.11294,
    "h": 14.1
  },
  "luminance": 0.31423
}

Semantic roles & 50–950 ramp

primary
#D97E87
secondary
#CBE8E5
accent
#C2B224
background
#FEFAFA
surface
#FDF4F4
border
#D5CECE
text
#160F10
muted
#847F7F

Preview Lab

Preview with #D97E87

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

Preview Lab → · Contrast checker → · Palette generator →

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