#D997CB#D997CB

#D997CB is a light, moderate pink. Relative luminance 0.412; OKLCH L 75.7% C 0.104 H 334.4°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#D997CB
RGBrgb(217, 151, 203)
HSLhsl(313, 46%, 72%)
HSVhsv(313, 30%, 85%)
CMYKcmyk(0%, 30.4%, 6.5%, 14.9%)
CIE-LABlab(70.31, 32.82, -16.76)
CIE-LCHlch(70.31, 36.85, 332.95°)
OKLaboklab(75.7% 0.0937 -0.0449)
OKLCHoklch(75.7% 0.104 334.4)
XYZxyz(50.4608, 41.1988, 61.7825)
Luminance0.4120 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D997CB #97D9A5
analogous
#C697D9 #D997CB #D997AA
triadic
#D997CB #CBD997 #97CBD9
tetradic
#D997CB #D9C697 #97D9A5 #97AAD9
square
#D997CB #D9C697 #97D9A5 #97AAD9
split-complementary
#D997CB #AAD997 #97D9C6
monochromatic
#B4429C #C96AB5 #D997CB #E9C4E1 #F7E9F4

Accessibility & contrast

On white

2.27
#D997CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#D997CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D997CB
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D997CB#FFFFFF#000000##000000
##D997CB1.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#97A6CD
Deuteranopia (green-blind)
#A7AFC9
Tritanopia (blue-blind)
#DF9AA9
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d997cb;
/* rgb */ color: rgb(217, 151, 203);
/* oklch */ color: oklch(75.7% 0.104 334.4);
Tailwind
colors: {
  custom: {
    50: '#e5b6db',
    500: '#d997cb',
    950: '#000000',
  },
}
SCSS
$custom: #d997cb;
$custom-light: #e5b6db;
$custom-dark: #000000;
JSON
{
  "hex": "#d997cb",
  "rgb": {
    "r": 217,
    "g": 151,
    "b": 203
  },
  "hsl": {
    "h": 312.727,
    "s": 46.479,
    "l": 72.157
  },
  "oklch": {
    "l": 0.757,
    "c": 0.10389,
    "h": 334.4
  },
  "luminance": 0.41197
}

Semantic roles & 50–950 ramp

primary
#D997CB
secondary
#DDEEE1
accent
#BA4A2C
background
#FEFBFD
surface
#FCF6FA
border
#D5D0D3
text
#161115
muted
#848083

Preview Lab

Preview with #D997CB

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

Preview Lab → · Contrast checker → · Palette generator →

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