#D97EA3#D97EA3

#D97EA3 is a light, vivid pink. Relative luminance 0.323; OKLCH L 70.2% C 0.120 H 354.8°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#D97EA3
RGBrgb(217, 126, 163)
HSLhsl(336, 54%, 67%)
HSVhsv(336, 42%, 85%)
CMYKcmyk(0%, 41.9%, 24.9%, 14.9%)
CIE-LABlab(63.61, 39.77, -4.34)
CIE-LCHlch(63.61, 40.01, 353.78°)
OKLaboklab(70.19% 0.1198 -0.0109)
OKLCHoklch(70.19% 0.12 354.8)
XYZxyz(42.6881, 32.3209, 38.6334)
Luminance0.3232 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97EA3 #7ED9B4
analogous
#D97ED1 #D97EA3 #D9867E
triadic
#D97EA3 #A3D97E #7EA3D9
tetradic
#D97EA3 #D1D97E #7ED9B4 #867ED9
square
#D97EA3 #D1D97E #7ED9B4 #867ED9
split-complementary
#D97EA3 #7ED986 #7ED1D9
monochromatic
#AA3263 #CB4F81 #D97EA3 #E7ADC5 #F5DDE6

Accessibility & contrast

On white

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

On black

7.46
#D97EA3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97EA3
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97EA3#FFFFFF#000000##000000
##D97EA31.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8990A4
Deuteranopia (green-blind)
#A0A0A1
Tritanopia (blue-blind)
#E67A8B
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d97ea3;
/* rgb */ color: rgb(217, 126, 163);
/* oklch */ color: oklch(70.2% 0.120 354.8);
Tailwind
colors: {
  custom: {
    50: '#e7a5be',
    500: '#d97ea3',
    950: '#000000',
  },
}
SCSS
$custom: #d97ea3;
$custom-light: #e7a5be;
$custom-dark: #000000;
JSON
{
  "hex": "#d97ea3",
  "rgb": {
    "r": 217,
    "g": 126,
    "b": 163
  },
  "hsl": {
    "h": 335.604,
    "s": 54.491,
    "l": 67.255
  },
  "oklch": {
    "l": 0.70186,
    "c": 0.12025,
    "h": 354.8
  },
  "luminance": 0.32318
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D97EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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