#D997CA#D997CA

#D997CA is a light, moderate pink. Relative luminance 0.411; OKLCH L 75.7% C 0.103 H 335.0°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#D997CA
RGBrgb(217, 151, 202)
HSLhsl(314, 46%, 72%)
HSVhsv(314, 30%, 85%)
CMYKcmyk(0%, 30.4%, 6.9%, 14.9%)
CIE-LABlab(70.28, 32.64, -16.25)
CIE-LCHlch(70.28, 36.46, 333.53°)
OKLaboklab(75.66% 0.0934 -0.0435)
OKLCHoklch(75.66% 0.103 335)
XYZxyz(50.3420, 41.1513, 61.1569)
Luminance0.4115 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D997CA #97D9A6
analogous
#C797D9 #D997CA #D997A9
triadic
#D997CA #CAD997 #97CAD9
tetradic
#D997CA #D9C797 #97D9A6 #97A9D9
square
#D997CA #D9C797 #97D9A6 #97A9D9
split-complementary
#D997CA #A9D997 #97D9C7
monochromatic
#B4429A #C96AB3 #D997CA #E9C4E1 #F7E9F4

Accessibility & contrast

On white

2.28
#D997CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#D997CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D997CA
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D997CA#FFFFFF#000000##000000
##D997CA1.002.289.239.23
#FFFFFF2.281.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#97A6CC
Deuteranopia (green-blind)
#A7AFC8
Tritanopia (blue-blind)
#E099A9
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d997ca;
/* rgb */ color: rgb(217, 151, 202);
/* oklch */ color: oklch(75.7% 0.103 335.0);
Tailwind
colors: {
  custom: {
    50: '#e5b6da',
    500: '#d997ca',
    950: '#000000',
  },
}
SCSS
$custom: #d997ca;
$custom-light: #e5b6da;
$custom-dark: #000000;
JSON
{
  "hex": "#d997ca",
  "rgb": {
    "r": 217,
    "g": 151,
    "b": 202
  },
  "hsl": {
    "h": 313.636,
    "s": 46.479,
    "l": 72.157
  },
  "oklch": {
    "l": 0.75664,
    "c": 0.10302,
    "h": 335
  },
  "luminance": 0.41149
}

Semantic roles & 50–950 ramp

primary
#D997CA
secondary
#DDEEE1
accent
#BA4C2C
background
#FEFBFD
surface
#FCF6FA
border
#D5D0D3
text
#161114
muted
#848083

Preview Lab

Preview with #D997CA

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

Preview Lab → · Contrast checker → · Palette generator →

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