#D997CC#D997CC

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

Color values

HEX#D997CC
RGBrgb(217, 151, 204)
HSLhsl(312, 46%, 72%)
HSVhsv(312, 30%, 85%)
CMYKcmyk(0%, 30.4%, 6%, 14.9%)
CIE-LABlab(70.35, 32.99, -17.26)
CIE-LCHlch(70.35, 37.23, 332.38°)
OKLaboklab(75.74% 0.094 -0.0462)
OKLCHoklch(75.74% 0.105 333.8)
XYZxyz(50.5804, 41.2466, 62.4121)
Luminance0.4124 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D997CC #97D9A4
analogous
#C597D9 #D997CC #D997AB
triadic
#D997CC #CCD997 #97CCD9
tetradic
#D997CC #D9C597 #97D9A4 #97ABD9
square
#D997CC #D9C597 #97D9A4 #97ABD9
split-complementary
#D997CC #ABD997 #97D9C5
monochromatic
#B4429D #C96AB6 #D997CC #E9C4E2 #F7E9F4

Accessibility & contrast

On white

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

On black

9.25
#D997CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D997CC
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D997CC#FFFFFF#000000##000000
##D997CC1.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#97A6CE
Deuteranopia (green-blind)
#A6AFCA
Tritanopia (blue-blind)
#DF9AAA
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d997cc;
/* rgb */ color: rgb(217, 151, 204);
/* oklch */ color: oklch(75.7% 0.105 333.8);
Tailwind
colors: {
  custom: {
    50: '#e5b6db',
    500: '#d997cc',
    950: '#000000',
  },
}
SCSS
$custom: #d997cc;
$custom-light: #e5b6db;
$custom-dark: #000000;
JSON
{
  "hex": "#d997cc",
  "rgb": {
    "r": 217,
    "g": 151,
    "b": 204
  },
  "hsl": {
    "h": 311.818,
    "s": 46.479,
    "l": 72.157
  },
  "oklch": {
    "l": 0.75736,
    "c": 0.10477,
    "h": 333.8
  },
  "luminance": 0.41245
}

Semantic roles & 50–950 ramp

primary
#D997CC
secondary
#DDEEE0
accent
#BA482C
background
#FEFBFD
surface
#FCF6FB
border
#D5D0D4
text
#161115
muted
#848083

Preview Lab

Preview with #D997CC

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

Preview Lab → · Contrast checker → · Palette generator →

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