#D997CE#D997CE

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

Color values

HEX#D997CE
RGBrgb(217, 151, 206)
HSLhsl(310, 46%, 72%)
HSVhsv(310, 30%, 85%)
CMYKcmyk(0%, 30.4%, 5.1%, 14.9%)
CIE-LABlab(70.42, 33.35, -18.26)
CIE-LCHlch(70.42, 38.02, 331.29°)
OKLaboklab(75.81% 0.0946 -0.049)
OKLCHoklch(75.81% 0.107 332.6)
XYZxyz(50.8218, 41.3432, 63.6835)
Luminance0.4134 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D997CE #97D9A2
analogous
#C397D9 #D997CE #D997AD
triadic
#D997CE #CED997 #97CED9
tetradic
#D997CE #D9C397 #97D9A2 #97ADD9
square
#D997CE #D9C397 #97D9A2 #97ADD9
split-complementary
#D997CE #ADD997 #97D9C3
monochromatic
#B442A1 #C96AB9 #D997CE #E9C4E3 #F7E9F4

Accessibility & contrast

On white

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

On black

9.27
#D997CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D997CE
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D997CE#FFFFFF#000000##000000
##D997CE1.002.279.279.27
#FFFFFF2.271.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#96A7D0
Deuteranopia (green-blind)
#A6B0CC
Tritanopia (blue-blind)
#DF9AAB
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d997ce;
/* rgb */ color: rgb(217, 151, 206);
/* oklch */ color: oklch(75.8% 0.107 332.6);
Tailwind
colors: {
  custom: {
    50: '#e5b6dd',
    500: '#d997ce',
    950: '#000000',
  },
}
SCSS
$custom: #d997ce;
$custom-light: #e5b6dd;
$custom-dark: #000000;
JSON
{
  "hex": "#d997ce",
  "rgb": {
    "r": 217,
    "g": 151,
    "b": 206
  },
  "hsl": {
    "h": 310,
    "s": 46.479,
    "l": 72.157
  },
  "oklch": {
    "l": 0.7581,
    "c": 0.10655,
    "h": 332.6
  },
  "luminance": 0.41341
}

Semantic roles & 50–950 ramp

primary
#D997CE
secondary
#DDEEE0
accent
#BA432C
background
#FEFBFD
surface
#FCF6FB
border
#D5D0D4
text
#161115
muted
#848083

Preview Lab

Preview with #D997CE

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

Preview Lab → · Contrast checker → · Palette generator →

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