#D97ABE#D97ABE

#D97ABE is a light, vivid pink. Relative luminance 0.324; OKLCH L 70.5% C 0.144 H 338.7°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#D97ABE
RGBrgb(217, 122, 190)
HSLhsl(317, 56%, 66%)
HSVhsv(317, 44%, 85%)
CMYKcmyk(0%, 43.8%, 12.4%, 14.9%)
CIE-LABlab(63.66, 45.94, -19.57)
CIE-LCHlch(63.66, 49.93, 336.92°)
OKLaboklab(70.52% 0.1341 -0.0524)
OKLCHoklch(70.52% 0.144 338.7)
XYZxyz(44.8693, 32.3913, 52.5941)
Luminance0.3239 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97ABE #7AD995
analogous
#C57AD9 #D97ABE #D97A8F
triadic
#D97ABE #BED97A #7ABED9
tetradic
#D97ABE #D9C57A #7AD995 #7A8FD9
square
#D97ABE #D9C57A #7AD995 #7A8FD9
split-complementary
#D97ABE #8FD97A #7AD9C5
monochromatic
#A83086 #CB4AA7 #D97ABE #E7AAD5 #F4D9ED

Accessibility & contrast

On white

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

On black

7.48
#D97ABE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97ABE
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97ABE#FFFFFF#000000##000000
##D97ABE1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D91C0
Deuteranopia (green-blind)
#96A0BB
Tritanopia (blue-blind)
#E27C94
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d97abe;
/* rgb */ color: rgb(217, 122, 190);
/* oklch */ color: oklch(70.5% 0.144 338.7);
Tailwind
colors: {
  custom: {
    50: '#e6a3d1',
    500: '#d97abe',
    950: '#000000',
  },
}
SCSS
$custom: #d97abe;
$custom-light: #e6a3d1;
$custom-dark: #000000;
JSON
{
  "hex": "#d97abe",
  "rgb": {
    "r": 217,
    "g": 122,
    "b": 190
  },
  "hsl": {
    "h": 317.053,
    "s": 55.556,
    "l": 66.471
  },
  "oklch": {
    "l": 0.70519,
    "c": 0.14398,
    "h": 338.7
  },
  "luminance": 0.32388
}

Semantic roles & 50–950 ramp

primary
#D97ABE
secondary
#C8E7D1
accent
#C35022
background
#FEFAFC
surface
#FDF4F9
border
#D5CED2
text
#160F14
muted
#847F82

Preview Lab

Preview with #D97ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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