#D97CC2#D97CC2

#D97CC2 is a light, vivid pink. Relative luminance 0.331; OKLCH L 71.0% C 0.144 H 336.9°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#D97CC2
RGBrgb(217, 124, 194)
HSLhsl(315, 55%, 67%)
HSVhsv(315, 43%, 85%)
CMYKcmyk(0%, 42.9%, 10.6%, 14.9%)
CIE-LABlab(64.21, 45.56, -20.99)
CIE-LCHlch(64.21, 50.17, 335.26°)
OKLaboklab(70.98% 0.1322 -0.0564)
OKLCHoklch(70.98% 0.144 336.9)
XYZxyz(45.5606, 33.0648, 55.0109)
Luminance0.3306 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97CC2 #7CD993
analogous
#C27CD9 #D97CC2 #D97C94
triadic
#D97CC2 #C2D97C #7CC2D9
tetradic
#D97CC2 #D9C27C #7CD993 #7C94D9
square
#D97CC2 #D9C27C #7CD993 #7C94D9
split-complementary
#D97CC2 #94D97C #7CD9C2
monochromatic
#A9318C #CB4DAC #D97CC2 #E7ABD8 #F5DBEE

Accessibility & contrast

On white

2.76
#D97CC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#D97CC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97CC2
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97CC2#FFFFFF#000000##000000
##D97CC21.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E93C4
Deuteranopia (green-blind)
#96A1BF
Tritanopia (blue-blind)
#E27F96
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d97cc2;
/* rgb */ color: rgb(217, 124, 194);
/* oklch */ color: oklch(71.0% 0.144 336.9);
Tailwind
colors: {
  custom: {
    50: '#e6a4d4',
    500: '#d97cc2',
    950: '#000000',
  },
}
SCSS
$custom: #d97cc2;
$custom-light: #e6a4d4;
$custom-dark: #000000;
JSON
{
  "hex": "#d97cc2",
  "rgb": {
    "r": 217,
    "g": 124,
    "b": 194
  },
  "hsl": {
    "h": 314.839,
    "s": 55.03,
    "l": 66.863
  },
  "oklch": {
    "l": 0.70979,
    "c": 0.14369,
    "h": 336.9
  },
  "luminance": 0.33062
}

Semantic roles & 50–950 ramp

primary
#D97CC2
secondary
#CAE7D1
accent
#C34A23
background
#FEFAFD
surface
#FDF4FA
border
#D5CED3
text
#160F14
muted
#847F83

Preview Lab

Preview with #D97CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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