#D97F8A#D97F8A

#D97F8A is a light, moderate red. Relative luminance 0.318; OKLCH L 69.6% C 0.112 H 12.5°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#D97F8A
RGBrgb(217, 127, 138)
HSLhsl(353, 54%, 67%)
HSVhsv(353, 41%, 85%)
CMYKcmyk(0%, 41.5%, 36.4%, 14.9%)
CIE-LABlab(63.15, 35.99, 9.25)
CIE-LCHlch(63.15, 37.16, 14.41°)
OKLaboklab(69.62% 0.1091 0.0242)
OKLCHoklch(69.62% 0.112 12.5)
XYZxyz(40.7939, 31.7688, 28.0233)
Luminance0.3176 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97F8A #7FD9CE
analogous
#D97FB7 #D97F8A #D9A17F
triadic
#D97F8A #8AD97F #7F8AD9
tetradic
#D97F8A #B7D97F #7FD9CE #A17FD9
square
#D97F8A #B7D97F #7FD9CE #A17FD9
split-complementary
#D97F8A #7FD9A1 #7FB7D9
monochromatic
#AB3341 #CB505F #D97F8A #E7AEB5 #F5DDE0

Accessibility & contrast

On white

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

On black

7.35
#D97F8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97F8A
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97F8A#FFFFFF#000000##000000
##D97F8A1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#908E8A
Deuteranopia (green-blind)
#A6A088
Tritanopia (blue-blind)
#E87683
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d97f8a;
/* rgb */ color: rgb(217, 127, 138);
/* oklch */ color: oklch(69.6% 0.112 12.5);
Tailwind
colors: {
  custom: {
    50: '#e7a5ac',
    500: '#d97f8a',
    950: '#000000',
  },
}
SCSS
$custom: #d97f8a;
$custom-light: #e7a5ac;
$custom-dark: #000000;
JSON
{
  "hex": "#d97f8a",
  "rgb": {
    "r": 217,
    "g": 127,
    "b": 138
  },
  "hsl": {
    "h": 352.667,
    "s": 54.217,
    "l": 67.451
  },
  "oklch": {
    "l": 0.69619,
    "c": 0.11175,
    "h": 12.5
  },
  "luminance": 0.31765
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D97F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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