#D97DC6#D97DC6

#D97DC6 is a light, vivid pink. Relative luminance 0.335; OKLCH L 71.3% C 0.145 H 335.1°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#D97DC6
RGBrgb(217, 125, 198)
HSLhsl(312, 55%, 67%)
HSVhsv(312, 42%, 85%)
CMYKcmyk(0%, 42.4%, 8.8%, 14.9%)
CIE-LABlab(64.56, 45.71, -22.71)
CIE-LCHlch(64.56, 51.04, 333.58°)
OKLaboklab(71.29% 0.1317 -0.0612)
OKLCHoklch(71.29% 0.145 335.1)
XYZxyz(46.1418, 33.4988, 57.4507)
Luminance0.3350 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97DC6 #7DD990
analogous
#BE7DD9 #D97DC6 #D97D98
triadic
#D97DC6 #C6D97D #7DC6D9
tetradic
#D97DC6 #D9BE7D #7DD990 #7D98D9
square
#D97DC6 #D9BE7D #7DD990 #7D98D9
split-complementary
#D97DC6 #98D97D #7DD9BE
monochromatic
#AA3291 #CB4EB1 #D97DC6 #E7ACDB #F5DCF0

Accessibility & contrast

On white

2.73
#D97DC6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#D97DC6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97DC6
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97DC6#FFFFFF#000000##000000
##D97DC61.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D94C9
Deuteranopia (green-blind)
#95A2C3
Tritanopia (blue-blind)
#E18199
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d97dc6;
/* rgb */ color: rgb(217, 125, 198);
/* oklch */ color: oklch(71.3% 0.145 335.1);
Tailwind
colors: {
  custom: {
    50: '#e6a5d7',
    500: '#d97dc6',
    950: '#000000',
  },
}
SCSS
$custom: #d97dc6;
$custom-light: #e6a5d7;
$custom-dark: #000000;
JSON
{
  "hex": "#d97dc6",
  "rgb": {
    "r": 217,
    "g": 125,
    "b": 198
  },
  "hsl": {
    "h": 312.391,
    "s": 54.762,
    "l": 67.059
  },
  "oklch": {
    "l": 0.71289,
    "c": 0.14523,
    "h": 335.1
  },
  "luminance": 0.33496
}

Semantic roles & 50–950 ramp

primary
#D97DC6
secondary
#CAE8D0
accent
#C24423
background
#FEFAFD
surface
#FDF4FA
border
#D5CED3
text
#160F14
muted
#847F83

Preview Lab

Preview with #D97DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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