#D97EA1#D97EA1

#D97EA1 is a light, moderate pink. Relative luminance 0.322; OKLCH L 70.1% C 0.119 H 356.1°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#D97EA1
RGBrgb(217, 126, 161)
HSLhsl(337, 54%, 67%)
HSVhsv(337, 42%, 85%)
CMYKcmyk(0%, 41.9%, 25.8%, 14.9%)
CIE-LABlab(63.55, 39.49, -3.28)
CIE-LCHlch(63.55, 39.63, 355.25°)
OKLaboklab(70.12% 0.1191 -0.0081)
OKLCHoklch(70.12% 0.119 356.1)
XYZxyz(42.5103, 32.2498, 37.6972)
Luminance0.3225 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97EA1 #7ED9B6
analogous
#D97ECF #D97EA1 #D9897E
triadic
#D97EA1 #A1D97E #7EA1D9
tetradic
#D97EA1 #CFD97E #7ED9B6 #897ED9
square
#D97EA1 #CFD97E #7ED9B6 #897ED9
split-complementary
#D97EA1 #7ED989 #7ECFD9
monochromatic
#AA3260 #CB4F7F #D97EA1 #E7ADC3 #F5DDE6

Accessibility & contrast

On white

2.82
#D97EA1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#D97EA1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97EA1
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97EA1#FFFFFF#000000##000000
##D97EA11.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A90A2
Deuteranopia (green-blind)
#A0A09F
Tritanopia (blue-blind)
#E6798A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d97ea1;
/* rgb */ color: rgb(217, 126, 161);
/* oklch */ color: oklch(70.1% 0.119 356.1);
Tailwind
colors: {
  custom: {
    50: '#e7a5bc',
    500: '#d97ea1',
    950: '#000000',
  },
}
SCSS
$custom: #d97ea1;
$custom-light: #e7a5bc;
$custom-dark: #000000;
JSON
{
  "hex": "#d97ea1",
  "rgb": {
    "r": 217,
    "g": 126,
    "b": 161
  },
  "hsl": {
    "h": 336.923,
    "s": 54.491,
    "l": 67.255
  },
  "oklch": {
    "l": 0.70122,
    "c": 0.11935,
    "h": 356.1
  },
  "luminance": 0.32247
}

Semantic roles & 50–950 ramp

primary
#D97EA1
secondary
#CBE8DD
accent
#C28524
background
#FEFAFB
surface
#FDF4F6
border
#D5CED0
text
#160F12
muted
#847F81

Preview Lab

Preview with #D97EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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