#D97DC3#D97DC3

#D97DC3 is a light, vivid pink. Relative luminance 0.334; OKLCH L 71.2% C 0.143 H 336.5°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#D97DC3
RGBrgb(217, 125, 195)
HSLhsl(314, 55%, 67%)
HSVhsv(314, 42%, 85%)
CMYKcmyk(0%, 42.4%, 10.1%, 14.9%)
CIE-LABlab(64.45, 45.21, -21.19)
CIE-LCHlch(64.45, 49.93, 334.89°)
OKLaboklab(71.17% 0.1309 -0.0569)
OKLCHoklch(71.17% 0.143 336.5)
XYZxyz(45.7992, 33.3618, 55.6463)
Luminance0.3336 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97DC3 #7DD993
analogous
#C17DD9 #D97DC3 #D97D95
triadic
#D97DC3 #C3D97D #7DC3D9
tetradic
#D97DC3 #D9C17D #7DD993 #7D95D9
square
#D97DC3 #D9C17D #7DD993 #7D95D9
split-complementary
#D97DC3 #95D97D #7DD9C1
monochromatic
#AA328D #CB4EAD #D97DC3 #E7ACD9 #F5DCEF

Accessibility & contrast

On white

2.74
#D97DC3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#D97DC3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97DC3
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97DC3#FFFFFF#000000##000000
##D97DC31.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E94C6
Deuteranopia (green-blind)
#96A1C0
Tritanopia (blue-blind)
#E28097
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d97dc3;
/* rgb */ color: rgb(217, 125, 195);
/* oklch */ color: oklch(71.2% 0.143 336.5);
Tailwind
colors: {
  custom: {
    50: '#e6a5d5',
    500: '#d97dc3',
    950: '#000000',
  },
}
SCSS
$custom: #d97dc3;
$custom-light: #e6a5d5;
$custom-dark: #000000;
JSON
{
  "hex": "#d97dc3",
  "rgb": {
    "r": 217,
    "g": 125,
    "b": 195
  },
  "hsl": {
    "h": 314.348,
    "s": 54.762,
    "l": 67.059
  },
  "oklch": {
    "l": 0.71171,
    "c": 0.14278,
    "h": 336.5
  },
  "luminance": 0.33359
}

Semantic roles & 50–950 ramp

primary
#D97DC3
secondary
#CAE8D1
accent
#C24923
background
#FEFAFD
surface
#FDF4FA
border
#D5CED3
text
#160F14
muted
#847F83

Preview Lab

Preview with #D97DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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