#D97DBE#D97DBE

#D97DBE is a light, vivid pink. Relative luminance 0.331; OKLCH L 71.0% C 0.139 H 339.0°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#D97DBE
RGBrgb(217, 125, 190)
HSLhsl(318, 55%, 67%)
HSVhsv(318, 42%, 85%)
CMYKcmyk(0%, 42.4%, 12.4%, 14.9%)
CIE-LABlab(64.27, 44.39, -18.64)
CIE-LCHlch(64.27, 48.15, 337.22°)
OKLaboklab(70.98% 0.1296 -0.0499)
OKLCHoklch(70.98% 0.139 339)
XYZxyz(45.2434, 33.1394, 52.7187)
Luminance0.3314 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97DBE #7DD998
analogous
#C67DD9 #D97DBE #D97D90
triadic
#D97DBE #BED97D #7DBED9
tetradic
#D97DBE #D9C67D #7DD998 #7D90D9
square
#D97DBE #D9C67D #7DD998 #7D90D9
split-complementary
#D97DBE #90D97D #7DD9C6
monochromatic
#AA3287 #CB4EA6 #D97DBE #E7ACD6 #F5DCED

Accessibility & contrast

On white

2.75
#D97DBE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#D97DBE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97DBE
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97DBE#FFFFFF#000000##000000
##D97DBE1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8093C0
Deuteranopia (green-blind)
#98A1BB
Tritanopia (blue-blind)
#E27F95
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d97dbe;
/* rgb */ color: rgb(217, 125, 190);
/* oklch */ color: oklch(71.0% 0.139 339.0);
Tailwind
colors: {
  custom: {
    50: '#e6a5d1',
    500: '#d97dbe',
    950: '#000000',
  },
}
SCSS
$custom: #d97dbe;
$custom-light: #e6a5d1;
$custom-dark: #000000;
JSON
{
  "hex": "#d97dbe",
  "rgb": {
    "r": 217,
    "g": 125,
    "b": 190
  },
  "hsl": {
    "h": 317.609,
    "s": 54.762,
    "l": 67.059
  },
  "oklch": {
    "l": 0.70977,
    "c": 0.13886,
    "h": 339
  },
  "luminance": 0.33137
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D97DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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