#D996CB#D996CB

#D996CB is a light, moderate pink. Relative luminance 0.409; OKLCH L 75.5% C 0.106 H 334.3°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#D996CB
RGBrgb(217, 150, 203)
HSLhsl(313, 47%, 72%)
HSVhsv(313, 31%, 85%)
CMYKcmyk(0%, 30.9%, 6.5%, 14.9%)
CIE-LABlab(70.09, 33.35, -17.10)
CIE-LCHlch(70.09, 37.48, 332.86°)
OKLaboklab(75.53% 0.0952 -0.0458)
OKLCHoklch(75.53% 0.106 334.3)
XYZxyz(50.3006, 40.8783, 61.7291)
Luminance0.4088 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D996CB #96D9A4
analogous
#C696D9 #D996CB #D996AA
triadic
#D996CB #CBD996 #96CBD9
tetradic
#D996CB #D9C696 #96D9A4 #96AAD9
square
#D996CB #D9C696 #96D9A4 #96AAD9
split-complementary
#D996CB #AAD996 #96D9C6
monochromatic
#B4419C #C969B5 #D996CB #E9C3E1 #F7E9F4

Accessibility & contrast

On white

2.29
#D996CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#D996CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D996CB
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D996CB#FFFFFF#000000##000000
##D996CB1.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#96A5CD
Deuteranopia (green-blind)
#A6AFC9
Tritanopia (blue-blind)
#DF99A9
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #d996cb;
/* rgb */ color: rgb(217, 150, 203);
/* oklch */ color: oklch(75.5% 0.106 334.3);
Tailwind
colors: {
  custom: {
    50: '#e5b5db',
    500: '#d996cb',
    950: '#000000',
  },
}
SCSS
$custom: #d996cb;
$custom-light: #e5b5db;
$custom-dark: #000000;
JSON
{
  "hex": "#d996cb",
  "rgb": {
    "r": 217,
    "g": 150,
    "b": 203
  },
  "hsl": {
    "h": 312.537,
    "s": 46.853,
    "l": 71.961
  },
  "oklch": {
    "l": 0.75529,
    "c": 0.10567,
    "h": 334.3
  },
  "luminance": 0.40876
}

Semantic roles & 50–950 ramp

primary
#D996CB
secondary
#DDEEE1
accent
#BA492B
background
#FEFBFD
surface
#FCF6FA
border
#D5D0D3
text
#161115
muted
#848083

Preview Lab

Preview with #D996CB

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

Preview Lab → · Contrast checker → · Palette generator →

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