#D997BC#D997BC

#D997BC is a light, moderate pink. Relative luminance 0.405; OKLCH L 75.2% C 0.092 H 344.9°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#D997BC
RGBrgb(217, 151, 188)
HSLhsl(326, 46%, 72%)
HSVhsv(326, 30%, 85%)
CMYKcmyk(0%, 30.4%, 13.4%, 14.9%)
CIE-LABlab(69.84, 30.27, -9.15)
CIE-LCHlch(69.84, 31.63, 343.18°)
OKLaboklab(75.18% 0.0889 -0.024)
OKLCHoklch(75.18% 0.092 344.9)
XYZxyz(48.7590, 40.5181, 52.8197)
Luminance0.4052 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D997BC #97D9B4
analogous
#D597D9 #D997BC #D9979B
triadic
#D997BC #BCD997 #97BCD9
tetradic
#D997BC #D9D597 #97D9B4 #979BD9
square
#D997BC #D9D597 #97D9B4 #979BD9
split-complementary
#D997BC #9BD997 #97D9D5
monochromatic
#B44282 #C96A9F #D997BC #E9C4D9 #F7E9F1

Accessibility & contrast

On white

2.31
#D997BC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.10
#D997BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D997BC
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D997BC#FFFFFF#000000##000000
##D997BC1.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BA4BD
Deuteranopia (green-blind)
#ABAFBA
Tritanopia (blue-blind)
#E297A4
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #d997bc;
/* rgb */ color: rgb(217, 151, 188);
/* oklch */ color: oklch(75.2% 0.092 344.9);
Tailwind
colors: {
  custom: {
    50: '#e5b6d0',
    500: '#d997bc',
    950: '#000000',
  },
}
SCSS
$custom: #d997bc;
$custom-light: #e5b6d0;
$custom-dark: #000000;
JSON
{
  "hex": "#d997bc",
  "rgb": {
    "r": 217,
    "g": 151,
    "b": 188
  },
  "hsl": {
    "h": 326.364,
    "s": 46.479,
    "l": 72.157
  },
  "oklch": {
    "l": 0.75177,
    "c": 0.09211,
    "h": 344.9
  },
  "luminance": 0.40516
}

Semantic roles & 50–950 ramp

primary
#D997BC
secondary
#DDEEE4
accent
#BA6A2C
background
#FEFBFC
surface
#FCF6F9
border
#D5D0D2
text
#161114
muted
#848082

Preview Lab

Preview with #D997BC

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

Preview Lab → · Contrast checker → · Palette generator →

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