#D97DB7#D97DB7

#D97DB7 is a light, vivid pink. Relative luminance 0.328; OKLCH L 70.7% C 0.134 H 342.6°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#D97DB7
RGBrgb(217, 125, 183)
HSLhsl(322, 55%, 67%)
HSVhsv(322, 42%, 85%)
CMYKcmyk(0%, 42.4%, 15.7%, 14.9%)
CIE-LABlab(64.03, 43.27, -15.06)
CIE-LCHlch(64.03, 45.82, 340.82°)
OKLaboklab(70.71% 0.1276 -0.0399)
OKLCHoklch(70.71% 0.134 342.6)
XYZxyz(44.4966, 32.8407, 48.7858)
Luminance0.3284 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97DB7 #7DD99F
analogous
#CD7DD9 #D97DB7 #D97D89
triadic
#D97DB7 #B7D97D #7DB7D9
tetradic
#D97DB7 #D9CD7D #7DD99F #7D89D9
square
#D97DB7 #D9CD7D #7DD99F #7D89D9
split-complementary
#D97DB7 #89D97D #7DD9CD
monochromatic
#AA327D #CB4E9D #D97DB7 #E7ACD1 #F5DCEB

Accessibility & contrast

On white

2.77
#D97DB7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#D97DB7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97DB7
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97DB7#FFFFFF#000000##000000
##D97DB71.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8292B9
Deuteranopia (green-blind)
#9AA1B5
Tritanopia (blue-blind)
#E37D92
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d97db7;
/* rgb */ color: rgb(217, 125, 183);
/* oklch */ color: oklch(70.7% 0.134 342.6);
Tailwind
colors: {
  custom: {
    50: '#e6a5cc',
    500: '#d97db7',
    950: '#000000',
  },
}
SCSS
$custom: #d97db7;
$custom-light: #e6a5cc;
$custom-dark: #000000;
JSON
{
  "hex": "#d97db7",
  "rgb": {
    "r": 217,
    "g": 125,
    "b": 183
  },
  "hsl": {
    "h": 322.174,
    "s": 54.762,
    "l": 67.059
  },
  "oklch": {
    "l": 0.70715,
    "c": 0.13372,
    "h": 342.6
  },
  "luminance": 0.32838
}

Semantic roles & 50–950 ramp

primary
#D97DB7
secondary
#CAE8D5
accent
#C25E23
background
#FEFAFC
surface
#FDF4F8
border
#D5CED1
text
#160F13
muted
#847F82

Preview Lab

Preview with #D97DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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