#D97EA5#D97EA5

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

Color values

HEX#D97EA5
RGBrgb(217, 126, 165)
HSLhsl(334, 54%, 67%)
HSVhsv(334, 42%, 85%)
CMYKcmyk(0%, 41.9%, 24%, 14.9%)
CIE-LABlab(63.67, 40.06, -5.39)
CIE-LCHlch(63.67, 40.42, 352.34°)
OKLaboklab(70.25% 0.1204 -0.0137)
OKLCHoklch(70.25% 0.121 353.5)
XYZxyz(42.8687, 32.3932, 39.5847)
Luminance0.3239 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97EA5 #7ED9B2
analogous
#D97ED2 #D97EA5 #D9857E
triadic
#D97EA5 #A5D97E #7EA5D9
tetradic
#D97EA5 #D2D97E #7ED9B2 #857ED9
square
#D97EA5 #D2D97E #7ED9B2 #857ED9
split-complementary
#D97EA5 #7ED985 #7ED2D9
monochromatic
#AA3266 #CB4F84 #D97EA5 #E7ADC6 #F5DDE7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D97EA5#FFFFFF#000000##000000
##D97EA51.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)
#8990A6
Deuteranopia (green-blind)
#9FA0A3
Tritanopia (blue-blind)
#E67A8C
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d97ea5;
/* rgb */ color: rgb(217, 126, 165);
/* oklch */ color: oklch(70.3% 0.121 353.5);
Tailwind
colors: {
  custom: {
    50: '#e7a5bf',
    500: '#d97ea5',
    950: '#000000',
  },
}
SCSS
$custom: #d97ea5;
$custom-light: #e7a5bf;
$custom-dark: #000000;
JSON
{
  "hex": "#d97ea5",
  "rgb": {
    "r": 217,
    "g": 126,
    "b": 165
  },
  "hsl": {
    "h": 334.286,
    "s": 54.491,
    "l": 67.255
  },
  "oklch": {
    "l": 0.7025,
    "c": 0.12121,
    "h": 353.5
  },
  "luminance": 0.3239
}

Semantic roles & 50–950 ramp

primary
#D97EA5
secondary
#CBE8DB
accent
#C27E24
background
#FEFAFB
surface
#FDF4F7
border
#D5CED0
text
#160F12
muted
#847F81

Preview Lab

Preview with #D97EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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