#D97DA2#D97DA2

#D97DA2 is a light, vivid pink. Relative luminance 0.320; OKLCH L 70.0% C 0.121 H 355.1°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#D97DA2
RGBrgb(217, 125, 162)
HSLhsl(336, 55%, 67%)
HSVhsv(336, 42%, 85%)
CMYKcmyk(0%, 42.4%, 25.3%, 14.9%)
CIE-LABlab(63.37, 40.15, -4.12)
CIE-LCHlch(63.37, 40.36, 354.14°)
OKLaboklab(69.99% 0.121 -0.0103)
OKLCHoklch(69.99% 0.121 355.1)
XYZxyz(42.4716, 32.0308, 38.1210)
Luminance0.3203 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97DA2 #7DD9B4
analogous
#D97DD0 #D97DA2 #D9867D
triadic
#D97DA2 #A2D97D #7DA2D9
tetradic
#D97DA2 #D0D97D #7DD9B4 #867DD9
square
#D97DA2 #D0D97D #7DD9B4 #867DD9
split-complementary
#D97DA2 #7DD986 #7DD0D9
monochromatic
#AA3262 #CB4E80 #D97DA2 #E7ACC4 #F5DCE6

Accessibility & contrast

On white

2.84
#D97DA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#D97DA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97DA2
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97DA2#FFFFFF#000000##000000
##D97DA21.002.847.417.41
#FFFFFF2.841.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#888FA3
Deuteranopia (green-blind)
#9FA0A0
Tritanopia (blue-blind)
#E6798A
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d97da2;
/* rgb */ color: rgb(217, 125, 162);
/* oklch */ color: oklch(70.0% 0.121 355.1);
Tailwind
colors: {
  custom: {
    50: '#e7a4bd',
    500: '#d97da2',
    950: '#000000',
  },
}
SCSS
$custom: #d97da2;
$custom-light: #e7a4bd;
$custom-dark: #000000;
JSON
{
  "hex": "#d97da2",
  "rgb": {
    "r": 217,
    "g": 125,
    "b": 162
  },
  "hsl": {
    "h": 335.87,
    "s": 54.762,
    "l": 67.059
  },
  "oklch": {
    "l": 0.69995,
    "c": 0.12142,
    "h": 355.1
  },
  "luminance": 0.32028
}

Semantic roles & 50–950 ramp

primary
#D97DA2
secondary
#CAE8DC
accent
#C28223
background
#FEFAFB
surface
#FDF4F6
border
#D5CED0
text
#160F12
muted
#847F81

Preview Lab

Preview with #D97DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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