#D97DBF#D97DBF

#D97DBF is a light, vivid pink. Relative luminance 0.332; OKLCH L 71.0% C 0.140 H 338.5°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#D97DBF
RGBrgb(217, 125, 191)
HSLhsl(317, 55%, 67%)
HSVhsv(317, 42%, 85%)
CMYKcmyk(0%, 42.4%, 12%, 14.9%)
CIE-LABlab(64.31, 44.55, -19.16)
CIE-LCHlch(64.31, 48.50, 336.74°)
OKLaboklab(71.02% 0.1299 -0.0513)
OKLCHoklch(71.02% 0.14 338.5)
XYZxyz(45.3530, 33.1833, 53.2963)
Luminance0.3318 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97DBF #7DD997
analogous
#C57DD9 #D97DBF #D97D91
triadic
#D97DBF #BFD97D #7DBFD9
tetradic
#D97DBF #D9C57D #7DD997 #7D91D9
square
#D97DBF #D9C57D #7DD997 #7D91D9
split-complementary
#D97DBF #91D97D #7DD9C5
monochromatic
#AA3288 #CB4EA8 #D97DBF #E7ACD6 #F5DCEE

Accessibility & contrast

On white

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

On black

7.64
#D97DBF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97DBF
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97DBF#FFFFFF#000000##000000
##D97DBF1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8093C1
Deuteranopia (green-blind)
#98A1BC
Tritanopia (blue-blind)
#E27F96
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d97dbf;
/* rgb */ color: rgb(217, 125, 191);
/* oklch */ color: oklch(71.0% 0.140 338.5);
Tailwind
colors: {
  custom: {
    50: '#e6a5d2',
    500: '#d97dbf',
    950: '#000000',
  },
}
SCSS
$custom: #d97dbf;
$custom-light: #e6a5d2;
$custom-dark: #000000;
JSON
{
  "hex": "#d97dbf",
  "rgb": {
    "r": 217,
    "g": 125,
    "b": 191
  },
  "hsl": {
    "h": 316.957,
    "s": 54.762,
    "l": 67.059
  },
  "oklch": {
    "l": 0.71015,
    "c": 0.13962,
    "h": 338.5
  },
  "luminance": 0.33181
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D97DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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