#D97EA4#D97EA4

#D97EA4 is a light, vivid pink. Relative luminance 0.324; OKLCH L 70.2% C 0.121 H 354.1°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#D97EA4
RGBrgb(217, 126, 164)
HSLhsl(335, 54%, 67%)
HSVhsv(335, 42%, 85%)
CMYKcmyk(0%, 41.9%, 24.4%, 14.9%)
CIE-LABlab(63.64, 39.91, -4.86)
CIE-LCHlch(63.64, 40.21, 353.06°)
OKLaboklab(70.22% 0.1201 -0.0123)
OKLCHoklch(70.22% 0.121 354.1)
XYZxyz(42.7781, 32.3569, 39.1072)
Luminance0.3235 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97EA4 #7ED9B3
analogous
#D97ED2 #D97EA4 #D9867E
triadic
#D97EA4 #A4D97E #7EA4D9
tetradic
#D97EA4 #D2D97E #7ED9B3 #867ED9
square
#D97EA4 #D2D97E #7ED9B3 #867ED9
split-complementary
#D97EA4 #7ED986 #7ED2D9
monochromatic
#AA3264 #CB4F83 #D97EA4 #E7ADC5 #F5DDE7

Accessibility & contrast

On white

2.81
#D97EA4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#D97EA4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97EA4
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97EA4#FFFFFF#000000##000000
##D97EA41.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8990A5
Deuteranopia (green-blind)
#A0A0A2
Tritanopia (blue-blind)
#E67A8C
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d97ea4;
/* rgb */ color: rgb(217, 126, 164);
/* oklch */ color: oklch(70.2% 0.121 354.1);
Tailwind
colors: {
  custom: {
    50: '#e7a5bf',
    500: '#d97ea4',
    950: '#000000',
  },
}
SCSS
$custom: #d97ea4;
$custom-light: #e7a5bf;
$custom-dark: #000000;
JSON
{
  "hex": "#d97ea4",
  "rgb": {
    "r": 217,
    "g": 126,
    "b": 164
  },
  "hsl": {
    "h": 334.945,
    "s": 54.491,
    "l": 67.255
  },
  "oklch": {
    "l": 0.70218,
    "c": 0.12072,
    "h": 354.1
  },
  "luminance": 0.32354
}

Semantic roles & 50–950 ramp

primary
#D97EA4
secondary
#CBE8DC
accent
#C28024
background
#FEFAFB
surface
#FDF4F6
border
#D5CED0
text
#160F12
muted
#847F81

Preview Lab

Preview with #D97EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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