#D97E8A#D97E8A

#D97E8A is a light, moderate red. Relative luminance 0.315; OKLCH L 69.5% C 0.113 H 12.0°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#D97E8A
RGBrgb(217, 126, 138)
HSLhsl(352, 54%, 67%)
HSVhsv(352, 42%, 85%)
CMYKcmyk(0%, 41.9%, 36.4%, 14.9%)
CIE-LABlab(62.94, 36.51, 8.95)
CIE-LCHlch(62.94, 37.59, 13.77°)
OKLaboklab(69.46% 0.1107 0.0235)
OKLCHoklch(69.46% 0.113 12)
XYZxyz(40.6654, 31.5118, 27.9805)
Luminance0.3151 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97E8A #7ED9CD
analogous
#D97EB8 #D97E8A #D9A07E
triadic
#D97E8A #8AD97E #7E8AD9
tetradic
#D97E8A #B8D97E #7ED9CD #A07ED9
square
#D97E8A #B8D97E #7ED9CD #A07ED9
split-complementary
#D97E8A #7ED9A0 #7EB8D9
monochromatic
#AA3242 #CB4F5F #D97E8A #E7ADB5 #F5DDE0

Accessibility & contrast

On white

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

On black

7.30
#D97E8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97E8A
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97E8A#FFFFFF#000000##000000
##D97E8A1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8E8A
Deuteranopia (green-blind)
#A59F88
Tritanopia (blue-blind)
#E87582
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d97e8a;
/* rgb */ color: rgb(217, 126, 138);
/* oklch */ color: oklch(69.5% 0.113 12.0);
Tailwind
colors: {
  custom: {
    50: '#e7a5ac',
    500: '#d97e8a',
    950: '#000000',
  },
}
SCSS
$custom: #d97e8a;
$custom-light: #e7a5ac;
$custom-dark: #000000;
JSON
{
  "hex": "#d97e8a",
  "rgb": {
    "r": 217,
    "g": 126,
    "b": 138
  },
  "hsl": {
    "h": 352.088,
    "s": 54.491,
    "l": 67.255
  },
  "oklch": {
    "l": 0.69456,
    "c": 0.11315,
    "h": 12
  },
  "luminance": 0.31508
}

Semantic roles & 50–950 ramp

primary
#D97E8A
secondary
#CBE8E4
accent
#C2AD24
background
#FEFAFA
surface
#FDF4F4
border
#D5CECE
text
#160F10
muted
#847F7F

Preview Lab

Preview with #D97E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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