#D97EA6#D97EA6

#D97EA6 is a light, vivid pink. Relative luminance 0.324; OKLCH L 70.3% C 0.122 H 352.9°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#D97EA6
RGBrgb(217, 126, 166)
HSLhsl(334, 54%, 67%)
HSVhsv(334, 42%, 85%)
CMYKcmyk(0%, 41.9%, 23.5%, 14.9%)
CIE-LABlab(63.70, 40.20, -5.91)
CIE-LCHlch(63.70, 40.63, 351.64°)
OKLaboklab(70.28% 0.1208 -0.0151)
OKLCHoklch(70.28% 0.122 352.9)
XYZxyz(42.9601, 32.4297, 40.0659)
Luminance0.3243 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97EA6 #7ED9B1
analogous
#D97ED4 #D97EA6 #D9837E
triadic
#D97EA6 #A6D97E #7EA6D9
tetradic
#D97EA6 #D4D97E #7ED9B1 #837ED9
square
#D97EA6 #D4D97E #7ED9B1 #837ED9
split-complementary
#D97EA6 #7ED983 #7ED4D9
monochromatic
#AA3267 #CB4F85 #D97EA6 #E7ADC7 #F5DDE7

Accessibility & contrast

On white

2.81
#D97EA6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#D97EA6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97EA6
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97EA6#FFFFFF#000000##000000
##D97EA61.002.817.497.49
#FFFFFF2.811.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8891A7
Deuteranopia (green-blind)
#9FA0A4
Tritanopia (blue-blind)
#E57A8C
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d97ea6;
/* rgb */ color: rgb(217, 126, 166);
/* oklch */ color: oklch(70.3% 0.122 352.9);
Tailwind
colors: {
  custom: {
    50: '#e7a5c0',
    500: '#d97ea6',
    950: '#000000',
  },
}
SCSS
$custom: #d97ea6;
$custom-light: #e7a5c0;
$custom-dark: #000000;
JSON
{
  "hex": "#d97ea6",
  "rgb": {
    "r": 217,
    "g": 126,
    "b": 166
  },
  "hsl": {
    "h": 333.626,
    "s": 54.491,
    "l": 67.255
  },
  "oklch": {
    "l": 0.70283,
    "c": 0.1217,
    "h": 352.9
  },
  "luminance": 0.32427
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D97EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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