#D97EBC#D97EBC

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

Color values

HEX#D97EBC
RGBrgb(217, 126, 188)
HSLhsl(319, 54%, 67%)
HSVhsv(319, 42%, 85%)
CMYKcmyk(0%, 41.9%, 13.4%, 14.9%)
CIE-LABlab(64.41, 43.55, -17.31)
CIE-LCHlch(64.41, 46.87, 338.32°)
OKLaboklab(71.06% 0.1275 -0.0462)
OKLCHoklch(71.06% 0.136 340.1)
XYZxyz(45.1535, 33.3071, 51.6178)
Luminance0.3330 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97EBC #7ED99B
analogous
#C97ED9 #D97EBC #D97E8F
triadic
#D97EBC #BCD97E #7EBCD9
tetradic
#D97EBC #D9C97E #7ED99B #7E8FD9
square
#D97EBC #D9C97E #7ED99B #7E8FD9
split-complementary
#D97EBC #8FD97E #7ED9C9
monochromatic
#AA3284 #CB4FA3 #D97EBC #E7ADD5 #F5DDED

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D97EBC#FFFFFF#000000##000000
##D97EBC1.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)
#8293BE
Deuteranopia (green-blind)
#99A1B9
Tritanopia (blue-blind)
#E37F95
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d97ebc;
/* rgb */ color: rgb(217, 126, 188);
/* oklch */ color: oklch(71.1% 0.136 340.1);
Tailwind
colors: {
  custom: {
    50: '#e6a5d0',
    500: '#d97ebc',
    950: '#000000',
  },
}
SCSS
$custom: #d97ebc;
$custom-light: #e6a5d0;
$custom-dark: #000000;
JSON
{
  "hex": "#d97ebc",
  "rgb": {
    "r": 217,
    "g": 126,
    "b": 188
  },
  "hsl": {
    "h": 319.121,
    "s": 54.491,
    "l": 67.255
  },
  "oklch": {
    "l": 0.71056,
    "c": 0.13563,
    "h": 340.1
  },
  "luminance": 0.33304
}

Semantic roles & 50–950 ramp

primary
#D97EBC
secondary
#CBE8D4
accent
#C25624
background
#FEFAFC
surface
#FDF4F9
border
#D5CED2
text
#160F14
muted
#847F82

Preview Lab

Preview with #D97EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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