#D97EA8#D97EA8

#D97EA8 is a light, vivid pink. Relative luminance 0.325; OKLCH L 70.3% C 0.123 H 351.6°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#D97EA8
RGBrgb(217, 126, 168)
HSLhsl(332, 54%, 67%)
HSVhsv(332, 42%, 85%)
CMYKcmyk(0%, 41.9%, 22.6%, 14.9%)
CIE-LABlab(63.76, 40.49, -6.96)
CIE-LCHlch(63.76, 41.08, 350.25°)
OKLaboklab(70.35% 0.1214 -0.0179)
OKLCHoklch(70.35% 0.123 351.6)
XYZxyz(43.1450, 32.5037, 41.0396)
Luminance0.3250 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97EA8 #7ED9AF
analogous
#D97ED5 #D97EA8 #D9827E
triadic
#D97EA8 #A8D97E #7EA8D9
tetradic
#D97EA8 #D5D97E #7ED9AF #827ED9
square
#D97EA8 #D5D97E #7ED9AF #827ED9
split-complementary
#D97EA8 #7ED982 #7ED5D9
monochromatic
#AA326A #CB4F88 #D97EA8 #E7ADC8 #F5DDE8

Accessibility & contrast

On white

2.80
#D97EA8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#D97EA8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97EA8
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97EA8#FFFFFF#000000##000000
##D97EA81.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8891A9
Deuteranopia (green-blind)
#9FA0A6
Tritanopia (blue-blind)
#E57B8D
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d97ea8;
/* rgb */ color: rgb(217, 126, 168);
/* oklch */ color: oklch(70.3% 0.123 351.6);
Tailwind
colors: {
  custom: {
    50: '#e7a5c1',
    500: '#d97ea8',
    950: '#000000',
  },
}
SCSS
$custom: #d97ea8;
$custom-light: #e7a5c1;
$custom-dark: #000000;
JSON
{
  "hex": "#d97ea8",
  "rgb": {
    "r": 217,
    "g": 126,
    "b": 168
  },
  "hsl": {
    "h": 332.308,
    "s": 54.491,
    "l": 67.255
  },
  "oklch": {
    "l": 0.70349,
    "c": 0.12274,
    "h": 351.6
  },
  "luminance": 0.32501
}

Semantic roles & 50–950 ramp

primary
#D97EA8
secondary
#CBE8DB
accent
#C27924
background
#FEFAFB
surface
#FDF4F7
border
#D5CED0
text
#160F12
muted
#847F81

Preview Lab

Preview with #D97EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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