#D97E98#D97E98

#D97E98 is a light, moderate pink. Relative luminance 0.319; OKLCH L 69.8% C 0.116 H 2.2°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#D97E98
RGBrgb(217, 126, 152)
HSLhsl(343, 54%, 67%)
HSVhsv(343, 42%, 85%)
CMYKcmyk(0%, 41.9%, 30%, 14.9%)
CIE-LABlab(63.30, 38.27, 1.48)
CIE-LCHlch(63.30, 38.30, 2.21°)
OKLaboklab(69.85% 0.1159 0.0044)
OKLCHoklch(69.85% 0.116 2.2)
XYZxyz(41.7451, 31.9437, 33.6668)
Luminance0.3194 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97E98 #7ED9BF
analogous
#D97EC6 #D97E98 #D9927E
triadic
#D97E98 #98D97E #7E98D9
tetradic
#D97E98 #C6D97E #7ED9BF #927ED9
square
#D97E98 #C6D97E #7ED9BF #927ED9
split-complementary
#D97E98 #7ED992 #7EC6D9
monochromatic
#AA3255 #CB4F72 #D97E98 #E7ADBE #F5DDE3

Accessibility & contrast

On white

2.84
#D97E98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#D97E98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97E98
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97E98#FFFFFF#000000##000000
##D97E981.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C8F99
Deuteranopia (green-blind)
#A2A096
Tritanopia (blue-blind)
#E77787
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d97e98;
/* rgb */ color: rgb(217, 126, 152);
/* oklch */ color: oklch(69.8% 0.116 2.2);
Tailwind
colors: {
  custom: {
    50: '#e7a5b6',
    500: '#d97e98',
    950: '#000000',
  },
}
SCSS
$custom: #d97e98;
$custom-light: #e7a5b6;
$custom-dark: #000000;
JSON
{
  "hex": "#d97e98",
  "rgb": {
    "r": 217,
    "g": 126,
    "b": 152
  },
  "hsl": {
    "h": 342.857,
    "s": 54.491,
    "l": 67.255
  },
  "oklch": {
    "l": 0.69847,
    "c": 0.11598,
    "h": 2.2
  },
  "luminance": 0.3194
}

Semantic roles & 50–950 ramp

primary
#D97E98
secondary
#CBE8E0
accent
#C29524
background
#FEFAFB
surface
#FDF4F6
border
#D5CED0
text
#160F11
muted
#847F80

Preview Lab

Preview with #D97E98

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

Preview Lab → · Contrast checker → · Palette generator →

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