#D997B3#D997B3

#D997B3 is a light, moderate pink. Relative luminance 0.401; OKLCH L 74.9% C 0.087 H 352.3°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#D997B3
RGBrgb(217, 151, 179)
HSLhsl(335, 46%, 72%)
HSVhsv(335, 30%, 85%)
CMYKcmyk(0%, 30.4%, 17.5%, 14.9%)
CIE-LABlab(69.57, 28.83, -4.54)
CIE-LCHlch(69.57, 29.19, 351.05°)
OKLaboklab(74.89% 0.0858 -0.0116)
OKLCHoklch(74.89% 0.087 352.3)
XYZxyz(47.8189, 40.1421, 47.8685)
Luminance0.4014 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D997B3 #97D9BD
analogous
#D997D4 #D997B3 #D99C97
triadic
#D997B3 #B3D997 #97B3D9
tetradic
#D997B3 #D4D997 #97D9BD #9C97D9
square
#D997B3 #D4D997 #97D9BD #9C97D9
split-complementary
#D997B3 #97D99C #97D4D9
monochromatic
#B44272 #C96A92 #D997B3 #E9C4D4 #F7E9EF

Accessibility & contrast

On white

2.33
#D997B3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#D997B3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D997B3
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D997B3#FFFFFF#000000##000000
##D997B31.002.339.039.03
#FFFFFF2.331.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DA3B4
Deuteranopia (green-blind)
#ADAEB1
Tritanopia (blue-blind)
#E395A1
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d997b3;
/* rgb */ color: rgb(217, 151, 179);
/* oklch */ color: oklch(74.9% 0.087 352.3);
Tailwind
colors: {
  custom: {
    50: '#e6b6c9',
    500: '#d997b3',
    950: '#000000',
  },
}
SCSS
$custom: #d997b3;
$custom-light: #e6b6c9;
$custom-dark: #000000;
JSON
{
  "hex": "#d997b3",
  "rgb": {
    "r": 217,
    "g": 151,
    "b": 179
  },
  "hsl": {
    "h": 334.545,
    "s": 46.479,
    "l": 72.157
  },
  "oklch": {
    "l": 0.74885,
    "c": 0.08662,
    "h": 352.3
  },
  "luminance": 0.4014
}

Semantic roles & 50–950 ramp

primary
#D997B3
secondary
#DDEEE7
accent
#BA7D2C
background
#FEFBFC
surface
#FCF6F8
border
#D5D0D1
text
#161113
muted
#848082

Preview Lab

Preview with #D997B3

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

Preview Lab → · Contrast checker → · Palette generator →

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