#D997B2#D997B2

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

Color values

HEX#D997B2
RGBrgb(217, 151, 178)
HSLhsl(335, 46%, 72%)
HSVhsv(335, 30%, 85%)
CMYKcmyk(0%, 30.4%, 18%, 14.9%)
CIE-LABlab(69.54, 28.68, -4.03)
CIE-LCHlch(69.54, 28.96, 352.01°)
OKLaboklab(74.85% 0.0855 -0.0103)
OKLCHoklch(74.85% 0.086 353.1)
XYZxyz(47.7182, 40.1017, 47.3378)
Luminance0.4010 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D997B2 #97D9BE
analogous
#D997D3 #D997B2 #D99D97
triadic
#D997B2 #B2D997 #97B2D9
tetradic
#D997B2 #D3D997 #97D9BE #9D97D9
square
#D997B2 #D3D997 #97D9BE #9D97D9
split-complementary
#D997B2 #97D99D #97D3D9
monochromatic
#B44270 #C96A91 #D997B2 #E9C4D3 #F7E9EE

Accessibility & contrast

On white

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

On black

9.02
#D997B2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D997B2
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D997B2#FFFFFF#000000##000000
##D997B21.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EA3B3
Deuteranopia (green-blind)
#ADAEB0
Tritanopia (blue-blind)
#E395A0
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d997b2;
/* rgb */ color: rgb(217, 151, 178);
/* oklch */ color: oklch(74.9% 0.086 353.1);
Tailwind
colors: {
  custom: {
    50: '#e6b6c9',
    500: '#d997b2',
    950: '#000000',
  },
}
SCSS
$custom: #d997b2;
$custom-light: #e6b6c9;
$custom-dark: #000000;
JSON
{
  "hex": "#d997b2",
  "rgb": {
    "r": 217,
    "g": 151,
    "b": 178
  },
  "hsl": {
    "h": 335.455,
    "s": 46.479,
    "l": 72.157
  },
  "oklch": {
    "l": 0.74854,
    "c": 0.08608,
    "h": 353.1
  },
  "luminance": 0.40099
}

Semantic roles & 50–950 ramp

primary
#D997B2
secondary
#DDEEE7
accent
#BA802C
background
#FEFBFC
surface
#FCF6F8
border
#D5D0D1
text
#161113
muted
#848082

Preview Lab

Preview with #D997B2

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

Preview Lab → · Contrast checker → · Palette generator →

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