#D97DBD#D97DBD

#D97DBD is a light, vivid pink. Relative luminance 0.331; OKLCH L 70.9% C 0.138 H 339.5°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#D97DBD
RGBrgb(217, 125, 189)
HSLhsl(318, 55%, 67%)
HSVhsv(318, 42%, 85%)
CMYKcmyk(0%, 42.4%, 12.9%, 14.9%)
CIE-LABlab(64.24, 44.23, -18.13)
CIE-LCHlch(64.24, 47.80, 337.71°)
OKLaboklab(70.94% 0.1293 -0.0484)
OKLCHoklch(70.94% 0.138 339.5)
XYZxyz(45.1344, 33.0959, 52.1451)
Luminance0.3309 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97DBD #7DD999
analogous
#C77DD9 #D97DBD #D97D8F
triadic
#D97DBD #BDD97D #7DBDD9
tetradic
#D97DBD #D9C77D #7DD999 #7D8FD9
square
#D97DBD #D9C77D #7DD999 #7D8FD9
split-complementary
#D97DBD #8FD97D #7DD9C7
monochromatic
#AA3285 #CB4EA5 #D97DBD #E7ACD5 #F5DCED

Accessibility & contrast

On white

2.76
#D97DBD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#D97DBD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97DBD
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97DBD#FFFFFF#000000##000000
##D97DBD1.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8093BF
Deuteranopia (green-blind)
#98A1BA
Tritanopia (blue-blind)
#E37F95
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d97dbd;
/* rgb */ color: rgb(217, 125, 189);
/* oklch */ color: oklch(70.9% 0.138 339.5);
Tailwind
colors: {
  custom: {
    50: '#e6a5d1',
    500: '#d97dbd',
    950: '#000000',
  },
}
SCSS
$custom: #d97dbd;
$custom-light: #e6a5d1;
$custom-dark: #000000;
JSON
{
  "hex": "#d97dbd",
  "rgb": {
    "r": 217,
    "g": 125,
    "b": 189
  },
  "hsl": {
    "h": 318.261,
    "s": 54.762,
    "l": 67.059
  },
  "oklch": {
    "l": 0.70939,
    "c": 0.1381,
    "h": 339.5
  },
  "luminance": 0.33093
}

Semantic roles & 50–950 ramp

primary
#D97DBD
secondary
#CAE8D3
accent
#C25423
background
#FEFAFC
surface
#FDF4F9
border
#D5CED2
text
#160F14
muted
#847F82

Preview Lab

Preview with #D97DBD

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

Preview Lab → · Contrast checker → · Palette generator →

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