#D97EB3#D97EB3

#D97EB3 is a light, vivid pink. Relative luminance 0.329; OKLCH L 70.7% C 0.129 H 345.0°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#D97EB3
RGBrgb(217, 126, 179)
HSLhsl(325, 54%, 67%)
HSVhsv(325, 42%, 85%)
CMYKcmyk(0%, 41.9%, 17.5%, 14.9%)
CIE-LABlab(64.11, 42.13, -12.68)
CIE-LCHlch(64.11, 44.00, 343.25°)
OKLaboklab(70.73% 0.1249 -0.0334)
OKLCHoklch(70.73% 0.129 345)
XYZxyz(44.2134, 32.9310, 46.6667)
Luminance0.3293 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97EB3 #7ED9A4
analogous
#D27ED9 #D97EB3 #D97E86
triadic
#D97EB3 #B3D97E #7EB3D9
tetradic
#D97EB3 #D9D27E #7ED9A4 #7E86D9
square
#D97EB3 #D9D27E #7ED9A4 #7E86D9
split-complementary
#D97EB3 #86D97E #7ED9D2
monochromatic
#AA3278 #CB4F97 #D97EB3 #E7ADCF #F5DDEB

Accessibility & contrast

On white

2.77
#D97EB3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#D97EB3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97EB3
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97EB3#FFFFFF#000000##000000
##D97EB31.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8592B5
Deuteranopia (green-blind)
#9CA1B1
Tritanopia (blue-blind)
#E47D91
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d97eb3;
/* rgb */ color: rgb(217, 126, 179);
/* oklch */ color: oklch(70.7% 0.129 345.0);
Tailwind
colors: {
  custom: {
    50: '#e6a5c9',
    500: '#d97eb3',
    950: '#000000',
  },
}
SCSS
$custom: #d97eb3;
$custom-light: #e6a5c9;
$custom-dark: #000000;
JSON
{
  "hex": "#d97eb3",
  "rgb": {
    "r": 217,
    "g": 126,
    "b": 179
  },
  "hsl": {
    "h": 325.055,
    "s": 54.491,
    "l": 67.255
  },
  "oklch": {
    "l": 0.70726,
    "c": 0.1293,
    "h": 345
  },
  "luminance": 0.32928
}

Semantic roles & 50–950 ramp

primary
#D97EB3
secondary
#CBE8D7
accent
#C26624
background
#FEFAFC
surface
#FDF4F8
border
#D5CED1
text
#160F13
muted
#847F82

Preview Lab

Preview with #D97EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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