#D997BF#D997BF

#D997BF is a light, moderate pink. Relative luminance 0.406; OKLCH L 75.3% C 0.094 H 342.6°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#D997BF
RGBrgb(217, 151, 191)
HSLhsl(324, 46%, 72%)
HSVhsv(324, 30%, 85%)
CMYKcmyk(0%, 30.4%, 12%, 14.9%)
CIE-LABlab(69.93, 30.77, -10.68)
CIE-LCHlch(69.93, 32.57, 340.85°)
OKLaboklab(75.28% 0.0899 -0.0282)
OKLCHoklch(75.28% 0.094 342.6)
XYZxyz(49.0858, 40.6488, 54.5406)
Luminance0.4065 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D997BF #97D9B1
analogous
#D297D9 #D997BF #D9979E
triadic
#D997BF #BFD997 #97BFD9
tetradic
#D997BF #D9D297 #97D9B1 #979ED9
square
#D997BF #D9D297 #97D9B1 #979ED9
split-complementary
#D997BF #9ED997 #97D9D2
monochromatic
#B44287 #C96AA3 #D997BF #E9C4DB #F7E9F1

Accessibility & contrast

On white

2.30
#D997BF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#D997BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D997BF
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D997BF#FFFFFF#000000##000000
##D997BF1.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AA5C1
Deuteranopia (green-blind)
#AAAFBD
Tritanopia (blue-blind)
#E197A5
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #d997bf;
/* rgb */ color: rgb(217, 151, 191);
/* oklch */ color: oklch(75.3% 0.094 342.6);
Tailwind
colors: {
  custom: {
    50: '#e5b6d2',
    500: '#d997bf',
    950: '#000000',
  },
}
SCSS
$custom: #d997bf;
$custom-light: #e5b6d2;
$custom-dark: #000000;
JSON
{
  "hex": "#d997bf",
  "rgb": {
    "r": 217,
    "g": 151,
    "b": 191
  },
  "hsl": {
    "h": 323.636,
    "s": 46.479,
    "l": 72.157
  },
  "oklch": {
    "l": 0.75278,
    "c": 0.09423,
    "h": 342.6
  },
  "luminance": 0.40647
}

Semantic roles & 50–950 ramp

primary
#D997BF
secondary
#DDEEE4
accent
#BA642C
background
#FEFBFC
surface
#FCF6F9
border
#D5D0D2
text
#161114
muted
#848082

Preview Lab

Preview with #D997BF

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

Preview Lab → · Contrast checker → · Palette generator →

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