#D97DBC#D97DBC

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

Color values

HEX#D97DBC
RGBrgb(217, 125, 188)
HSLhsl(319, 55%, 67%)
HSVhsv(319, 42%, 85%)
CMYKcmyk(0%, 42.4%, 13.4%, 14.9%)
CIE-LABlab(64.20, 44.07, -17.62)
CIE-LCHlch(64.20, 47.46, 338.20°)
OKLaboklab(70.9% 0.1291 -0.047)
OKLCHoklch(70.9% 0.137 340)
XYZxyz(45.0263, 33.0526, 51.5754)
Luminance0.3305 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97DBC #7DD99A
analogous
#C87DD9 #D97DBC #D97D8E
triadic
#D97DBC #BCD97D #7DBCD9
tetradic
#D97DBC #D9C87D #7DD99A #7D8ED9
square
#D97DBC #D9C87D #7DD99A #7D8ED9
split-complementary
#D97DBC #8ED97D #7DD9C8
monochromatic
#AA3284 #CB4EA4 #D97DBC #E7ACD4 #F5DCED

Accessibility & contrast

On white

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

On black

7.61
#D97DBC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97DBC
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97DBC#FFFFFF#000000##000000
##D97DBC1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8193BE
Deuteranopia (green-blind)
#99A1B9
Tritanopia (blue-blind)
#E37F94
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d97dbc;
/* rgb */ color: rgb(217, 125, 188);
/* oklch */ color: oklch(70.9% 0.137 340.0);
Tailwind
colors: {
  custom: {
    50: '#e6a5d0',
    500: '#d97dbc',
    950: '#000000',
  },
}
SCSS
$custom: #d97dbc;
$custom-light: #e6a5d0;
$custom-dark: #000000;
JSON
{
  "hex": "#d97dbc",
  "rgb": {
    "r": 217,
    "g": 125,
    "b": 188
  },
  "hsl": {
    "h": 318.913,
    "s": 54.762,
    "l": 67.059
  },
  "oklch": {
    "l": 0.70901,
    "c": 0.13735,
    "h": 340
  },
  "luminance": 0.3305
}

Semantic roles & 50–950 ramp

primary
#D97DBC
secondary
#CAE8D4
accent
#C25523
background
#FEFAFC
surface
#FDF4F9
border
#D5CED2
text
#160F14
muted
#847F82

Preview Lab

Preview with #D97DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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