#D97EB8#D97EB8

#D97EB8 is a light, vivid pink. Relative luminance 0.331; OKLCH L 70.9% C 0.133 H 342.2°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#D97EB8
RGBrgb(217, 126, 184)
HSLhsl(322, 54%, 67%)
HSVhsv(322, 42%, 85%)
CMYKcmyk(0%, 41.9%, 15.2%, 14.9%)
CIE-LABlab(64.27, 42.91, -15.26)
CIE-LCHlch(64.27, 45.55, 340.43°)
OKLaboklab(70.91% 0.1264 -0.0405)
OKLCHoklch(70.91% 0.133 342.2)
XYZxyz(44.7283, 33.1370, 49.3783)
Luminance0.3313 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97EB8 #7ED99F
analogous
#CC7ED9 #D97EB8 #D97E8B
triadic
#D97EB8 #B8D97E #7EB8D9
tetradic
#D97EB8 #D9CC7E #7ED99F #7E8BD9
square
#D97EB8 #D9CC7E #7ED99F #7E8BD9
split-complementary
#D97EB8 #8BD97E #7ED9CC
monochromatic
#AA327F #CB4F9E #D97EB8 #E7ADD2 #F5DDEC

Accessibility & contrast

On white

2.75
#D97EB8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#D97EB8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97EB8
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97EB8#FFFFFF#000000##000000
##D97EB81.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8393BA
Deuteranopia (green-blind)
#9AA1B6
Tritanopia (blue-blind)
#E37F93
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d97eb8;
/* rgb */ color: rgb(217, 126, 184);
/* oklch */ color: oklch(70.9% 0.133 342.2);
Tailwind
colors: {
  custom: {
    50: '#e6a5cd',
    500: '#d97eb8',
    950: '#000000',
  },
}
SCSS
$custom: #d97eb8;
$custom-light: #e6a5cd;
$custom-dark: #000000;
JSON
{
  "hex": "#d97eb8",
  "rgb": {
    "r": 217,
    "g": 126,
    "b": 184
  },
  "hsl": {
    "h": 321.758,
    "s": 54.491,
    "l": 67.255
  },
  "oklch": {
    "l": 0.70907,
    "c": 0.13272,
    "h": 342.2
  },
  "luminance": 0.33134
}

Semantic roles & 50–950 ramp

primary
#D97EB8
secondary
#CBE8D5
accent
#C25D24
background
#FEFAFC
surface
#FDF4F9
border
#D5CED2
text
#160F13
muted
#847F82

Preview Lab

Preview with #D97EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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