#D97DC2#D97DC2

#D97DC2 is a light, vivid pink. Relative luminance 0.333; OKLCH L 71.1% C 0.142 H 337.0°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#D97DC2
RGBrgb(217, 125, 194)
HSLhsl(315, 55%, 67%)
HSVhsv(315, 42%, 85%)
CMYKcmyk(0%, 42.4%, 10.6%, 14.9%)
CIE-LABlab(64.42, 45.05, -20.68)
CIE-LCHlch(64.42, 49.57, 335.34°)
OKLaboklab(71.13% 0.1307 -0.0555)
OKLCHoklch(71.13% 0.142 337)
XYZxyz(45.6865, 33.3167, 55.0529)
Luminance0.3331 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97DC2 #7DD994
analogous
#C27DD9 #D97DC2 #D97D94
triadic
#D97DC2 #C2D97D #7DC2D9
tetradic
#D97DC2 #D9C27D #7DD994 #7D94D9
square
#D97DC2 #D9C27D #7DD994 #7D94D9
split-complementary
#D97DC2 #94D97D #7DD9C2
monochromatic
#AA328C #CB4EAC #D97DC2 #E7ACD8 #F5DCEE

Accessibility & contrast

On white

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

On black

7.66
#D97DC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97DC2
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97DC2#FFFFFF#000000##000000
##D97DC21.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F94C4
Deuteranopia (green-blind)
#97A1BF
Tritanopia (blue-blind)
#E28097
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d97dc2;
/* rgb */ color: rgb(217, 125, 194);
/* oklch */ color: oklch(71.1% 0.142 337.0);
Tailwind
colors: {
  custom: {
    50: '#e6a5d4',
    500: '#d97dc2',
    950: '#000000',
  },
}
SCSS
$custom: #d97dc2;
$custom-light: #e6a5d4;
$custom-dark: #000000;
JSON
{
  "hex": "#d97dc2",
  "rgb": {
    "r": 217,
    "g": 125,
    "b": 194
  },
  "hsl": {
    "h": 315,
    "s": 54.762,
    "l": 67.059
  },
  "oklch": {
    "l": 0.71131,
    "c": 0.14198,
    "h": 337
  },
  "luminance": 0.33314
}

Semantic roles & 50–950 ramp

primary
#D97DC2
secondary
#CAE8D2
accent
#C24B23
background
#FEFAFD
surface
#FDF4FA
border
#D5CED3
text
#160F14
muted
#847F83

Preview Lab

Preview with #D97DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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