#D97FA4#D97FA4

#D97FA4 is a light, moderate pink. Relative luminance 0.326; OKLCH L 70.4% C 0.119 H 354.5°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#D97FA4
RGBrgb(217, 127, 164)
HSLhsl(335, 54%, 67%)
HSVhsv(335, 41%, 85%)
CMYKcmyk(0%, 41.5%, 24.4%, 14.9%)
CIE-LABlab(63.85, 39.39, -4.55)
CIE-LCHlch(63.85, 39.65, 353.41°)
OKLaboklab(70.38% 0.1185 -0.0115)
OKLCHoklch(70.38% 0.119 354.5)
XYZxyz(42.9066, 32.6139, 39.1500)
Luminance0.3261 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97FA4 #7FD9B4
analogous
#D97FD1 #D97FA4 #D9877F
triadic
#D97FA4 #A4D97F #7FA4D9
tetradic
#D97FA4 #D1D97F #7FD9B4 #877FD9
square
#D97FA4 #D1D97F #7FD9B4 #877FD9
split-complementary
#D97FA4 #7FD987 #7FD1D9
monochromatic
#AB3364 #CB5082 #D97FA4 #E7AEC6 #F5DDE7

Accessibility & contrast

On white

2.79
#D97FA4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#D97FA4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97FA4
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97FA4#FFFFFF#000000##000000
##D97FA41.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A91A5
Deuteranopia (green-blind)
#A0A1A2
Tritanopia (blue-blind)
#E67B8C
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d97fa4;
/* rgb */ color: rgb(217, 127, 164);
/* oklch */ color: oklch(70.4% 0.119 354.5);
Tailwind
colors: {
  custom: {
    50: '#e7a6bf',
    500: '#d97fa4',
    950: '#000000',
  },
}
SCSS
$custom: #d97fa4;
$custom-light: #e7a6bf;
$custom-dark: #000000;
JSON
{
  "hex": "#d97fa4",
  "rgb": {
    "r": 217,
    "g": 127,
    "b": 164
  },
  "hsl": {
    "h": 335.333,
    "s": 54.217,
    "l": 67.451
  },
  "oklch": {
    "l": 0.70377,
    "c": 0.11908,
    "h": 354.5
  },
  "luminance": 0.32611
}

Semantic roles & 50–950 ramp

primary
#D97FA4
secondary
#CCE8DC
accent
#C28124
background
#FEFAFB
surface
#FDF4F6
border
#D5CED0
text
#160F12
muted
#847F81

Preview Lab

Preview with #D97FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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