#D97EB4#D97EB4

#D97EB4 is a light, vivid pink. Relative luminance 0.330; OKLCH L 70.8% C 0.130 H 344.4°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#D97EB4
RGBrgb(217, 126, 180)
HSLhsl(324, 54%, 67%)
HSVhsv(324, 42%, 85%)
CMYKcmyk(0%, 41.9%, 17.1%, 14.9%)
CIE-LABlab(64.14, 42.29, -13.20)
CIE-LCHlch(64.14, 44.30, 342.67°)
OKLaboklab(70.76% 0.1252 -0.0348)
OKLCHoklch(70.76% 0.13 344.4)
XYZxyz(44.3149, 32.9716, 47.2012)
Luminance0.3297 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97EB4 #7ED9A3
analogous
#D17ED9 #D97EB4 #D97E86
triadic
#D97EB4 #B4D97E #7EB4D9
tetradic
#D97EB4 #D9D17E #7ED9A3 #7E86D9
square
#D97EB4 #D9D17E #7ED9A3 #7E86D9
split-complementary
#D97EB4 #86D97E #7ED9D1
monochromatic
#AA327A #CB4F99 #D97EB4 #E7ADCF #F5DDEB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D97EB4#FFFFFF#000000##000000
##D97EB41.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)
#8492B6
Deuteranopia (green-blind)
#9CA1B2
Tritanopia (blue-blind)
#E47E92
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d97eb4;
/* rgb */ color: rgb(217, 126, 180);
/* oklch */ color: oklch(70.8% 0.130 344.4);
Tailwind
colors: {
  custom: {
    50: '#e6a5ca',
    500: '#d97eb4',
    950: '#000000',
  },
}
SCSS
$custom: #d97eb4;
$custom-light: #e6a5ca;
$custom-dark: #000000;
JSON
{
  "hex": "#d97eb4",
  "rgb": {
    "r": 217,
    "g": 126,
    "b": 180
  },
  "hsl": {
    "h": 324.396,
    "s": 54.491,
    "l": 67.255
  },
  "oklch": {
    "l": 0.70762,
    "c": 0.12996,
    "h": 344.4
  },
  "luminance": 0.32969
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D97EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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