#D997CD#D997CD

#D997CD is a light, moderate pink. Relative luminance 0.413; OKLCH L 75.8% C 0.106 H 333.2°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#D997CD
RGBrgb(217, 151, 205)
HSLhsl(311, 46%, 72%)
HSVhsv(311, 30%, 85%)
CMYKcmyk(0%, 30.4%, 5.5%, 14.9%)
CIE-LABlab(70.38, 33.17, -17.76)
CIE-LCHlch(70.38, 37.62, 331.83°)
OKLaboklab(75.77% 0.0943 -0.0476)
OKLCHoklch(75.77% 0.106 333.2)
XYZxyz(50.7007, 41.2948, 63.0458)
Luminance0.4129 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D997CD #97D9A3
analogous
#C497D9 #D997CD #D997AC
triadic
#D997CD #CDD997 #97CDD9
tetradic
#D997CD #D9C497 #97D9A3 #97ACD9
square
#D997CD #D9C497 #97D9A3 #97ACD9
split-complementary
#D997CD #ACD997 #97D9C4
monochromatic
#B4429F #C96AB7 #D997CD #E9C4E3 #F7E9F4

Accessibility & contrast

On white

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

On black

9.26
#D997CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D997CD
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D997CD#FFFFFF#000000##000000
##D997CD1.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#96A6CF
Deuteranopia (green-blind)
#A6AFCB
Tritanopia (blue-blind)
#DF9AAA
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d997cd;
/* rgb */ color: rgb(217, 151, 205);
/* oklch */ color: oklch(75.8% 0.106 333.2);
Tailwind
colors: {
  custom: {
    50: '#e5b6dc',
    500: '#d997cd',
    950: '#000000',
  },
}
SCSS
$custom: #d997cd;
$custom-light: #e5b6dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d997cd",
  "rgb": {
    "r": 217,
    "g": 151,
    "b": 205
  },
  "hsl": {
    "h": 310.909,
    "s": 46.479,
    "l": 72.157
  },
  "oklch": {
    "l": 0.75773,
    "c": 0.10566,
    "h": 333.2
  },
  "luminance": 0.41293
}

Semantic roles & 50–950 ramp

primary
#D997CD
secondary
#DDEEE0
accent
#BA462C
background
#FEFBFD
surface
#FCF6FB
border
#D5D0D4
text
#161115
muted
#848083

Preview Lab

Preview with #D997CD

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

Preview Lab → · Contrast checker → · Palette generator →

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