#D997B0#D997B0

#D997B0 is a light, moderate pink. Relative luminance 0.400; OKLCH L 74.8% C 0.085 H 354.9°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#D997B0
RGBrgb(217, 151, 176)
HSLhsl(337, 46%, 72%)
HSVhsv(337, 30%, 85%)
CMYKcmyk(0%, 30.4%, 18.9%, 14.9%)
CIE-LABlab(69.49, 28.37, -2.99)
CIE-LCHlch(69.49, 28.52, 353.97°)
OKLaboklab(74.79% 0.0848 -0.0075)
OKLCHoklch(74.79% 0.085 354.9)
XYZxyz(47.5188, 40.0220, 46.2879)
Luminance0.4002 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D997B0 #97D9C0
analogous
#D997D1 #D997B0 #D99F97
triadic
#D997B0 #B0D997 #97B0D9
tetradic
#D997B0 #D1D997 #97D9C0 #9F97D9
square
#D997B0 #D1D997 #97D9C0 #9F97D9
split-complementary
#D997B0 #97D99F #97D1D9
monochromatic
#B4426D #C96A8E #D997B0 #E9C4D2 #F7E9EE

Accessibility & contrast

On white

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

On black

9.00
#D997B0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D997B0
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D997B0#FFFFFF#000000##000000
##D997B01.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EA3B1
Deuteranopia (green-blind)
#AEAEAE
Tritanopia (blue-blind)
#E394A0
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d997b0;
/* rgb */ color: rgb(217, 151, 176);
/* oklch */ color: oklch(74.8% 0.085 354.9);
Tailwind
colors: {
  custom: {
    50: '#e6b6c7',
    500: '#d997b0',
    950: '#000000',
  },
}
SCSS
$custom: #d997b0;
$custom-light: #e6b6c7;
$custom-dark: #000000;
JSON
{
  "hex": "#d997b0",
  "rgb": {
    "r": 217,
    "g": 151,
    "b": 176
  },
  "hsl": {
    "h": 337.273,
    "s": 46.479,
    "l": 72.157
  },
  "oklch": {
    "l": 0.74791,
    "c": 0.0851,
    "h": 354.9
  },
  "luminance": 0.4002
}

Semantic roles & 50–950 ramp

primary
#D997B0
secondary
#DDEEE8
accent
#BA842C
background
#FEFBFC
surface
#FCF6F8
border
#D5D0D1
text
#161113
muted
#848082

Preview Lab

Preview with #D997B0

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

Preview Lab → · Contrast checker → · Palette generator →

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