#D97EC1#D97EC1

#D97EC1 is a light, vivid pink. Relative luminance 0.335; OKLCH L 71.2% C 0.139 H 337.6°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#D97EC1
RGBrgb(217, 126, 193)
HSLhsl(316, 54%, 67%)
HSVhsv(316, 42%, 85%)
CMYKcmyk(0%, 41.9%, 11.1%, 14.9%)
CIE-LABlab(64.58, 44.36, -19.86)
CIE-LCHlch(64.58, 48.61, 335.88°)
OKLaboklab(71.25% 0.1289 -0.0532)
OKLCHoklch(71.25% 0.139 337.6)
XYZxyz(45.7018, 33.5264, 54.5058)
Luminance0.3352 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97EC1 #7ED996
analogous
#C37ED9 #D97EC1 #D97E94
triadic
#D97EC1 #C1D97E #7EC1D9
tetradic
#D97EC1 #D9C37E #7ED996 #7E94D9
square
#D97EC1 #D9C37E #7ED996 #7E94D9
split-complementary
#D97EC1 #94D97E #7ED9C3
monochromatic
#AA328B #CB4FAA #D97EC1 #E7ADD8 #F5DDEE

Accessibility & contrast

On white

2.73
#D97EC1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#D97EC1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97EC1
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97EC1#FFFFFF#000000##000000
##D97EC11.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8094C3
Deuteranopia (green-blind)
#98A2BE
Tritanopia (blue-blind)
#E28197
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d97ec1;
/* rgb */ color: rgb(217, 126, 193);
/* oklch */ color: oklch(71.2% 0.139 337.6);
Tailwind
colors: {
  custom: {
    50: '#e6a5d3',
    500: '#d97ec1',
    950: '#000000',
  },
}
SCSS
$custom: #d97ec1;
$custom-light: #e6a5d3;
$custom-dark: #000000;
JSON
{
  "hex": "#d97ec1",
  "rgb": {
    "r": 217,
    "g": 126,
    "b": 193
  },
  "hsl": {
    "h": 315.824,
    "s": 54.491,
    "l": 67.255
  },
  "oklch": {
    "l": 0.71246,
    "c": 0.13948,
    "h": 337.6
  },
  "luminance": 0.33524
}

Semantic roles & 50–950 ramp

primary
#D97EC1
secondary
#CBE8D3
accent
#C24D24
background
#FEFAFC
surface
#FDF4F9
border
#D5CED2
text
#160F14
muted
#847F82

Preview Lab

Preview with #D97EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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