#D97EC6#D97EC6

#D97EC6 is a light, vivid pink. Relative luminance 0.338; OKLCH L 71.4% C 0.144 H 335.1°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#D97EC6
RGBrgb(217, 126, 198)
HSLhsl(313, 54%, 67%)
HSVhsv(313, 42%, 85%)
CMYKcmyk(0%, 41.9%, 8.8%, 14.9%)
CIE-LABlab(64.77, 45.20, -22.40)
CIE-LCHlch(64.77, 50.44, 333.64°)
OKLaboklab(71.44% 0.1302 -0.0603)
OKLCHoklch(71.44% 0.144 335.1)
XYZxyz(46.2691, 33.7533, 57.4931)
Luminance0.3375 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97EC6 #7ED991
analogous
#BE7ED9 #D97EC6 #D97E99
triadic
#D97EC6 #C6D97E #7EC6D9
tetradic
#D97EC6 #D9BE7E #7ED991 #7E99D9
square
#D97EC6 #D9BE7E #7ED991 #7E99D9
split-complementary
#D97EC6 #99D97E #7ED9BE
monochromatic
#AA3291 #CB4FB1 #D97EC6 #E7ADDB #F5DDF0

Accessibility & contrast

On white

2.71
#D97EC6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#D97EC6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97EC6
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97EC6#FFFFFF#000000##000000
##D97EC61.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E95C9
Deuteranopia (green-blind)
#96A2C3
Tritanopia (blue-blind)
#E18299
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d97ec6;
/* rgb */ color: rgb(217, 126, 198);
/* oklch */ color: oklch(71.4% 0.144 335.1);
Tailwind
colors: {
  custom: {
    50: '#e6a5d7',
    500: '#d97ec6',
    950: '#000000',
  },
}
SCSS
$custom: #d97ec6;
$custom-light: #e6a5d7;
$custom-dark: #000000;
JSON
{
  "hex": "#d97ec6",
  "rgb": {
    "r": 217,
    "g": 126,
    "b": 198
  },
  "hsl": {
    "h": 312.527,
    "s": 54.491,
    "l": 67.255
  },
  "oklch": {
    "l": 0.71442,
    "c": 0.14352,
    "h": 335.1
  },
  "luminance": 0.33751
}

Semantic roles & 50–950 ramp

primary
#D97EC6
secondary
#CBE8D1
accent
#C24524
background
#FEFAFD
surface
#FDF4FA
border
#D5CED3
text
#160F14
muted
#847F83

Preview Lab

Preview with #D97EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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