#D97FAC#D97FAC

#D97FAC is a light, vivid pink. Relative luminance 0.329; OKLCH L 70.6% C 0.123 H 349.4°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#D97FAC
RGBrgb(217, 127, 172)
HSLhsl(330, 54%, 67%)
HSVhsv(330, 41%, 85%)
CMYKcmyk(0%, 41.5%, 20.7%, 14.9%)
CIE-LABlab(64.09, 40.55, -8.73)
CIE-LCHlch(64.09, 41.48, 347.84°)
OKLaboklab(70.64% 0.1212 -0.0227)
OKLCHoklch(70.64% 0.123 349.4)
XYZxyz(43.6519, 32.9120, 43.0752)
Luminance0.3291 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97FAC #7FD9AC
analogous
#D97FD9 #D97FAC #D97F7F
triadic
#D97FAC #ACD97F #7FACD9
tetradic
#D97FAC #D9D97F #7FD9AC #7F7FD9
square
#D97FAC #D9D97F #7FD9AC #7F7FD9
split-complementary
#D97FAC #7FD97F #7FD9D9
monochromatic
#AB336F #CB508D #D97FAC #E7AECB #F5DDE9

Accessibility & contrast

On white

2.77
#D97FAC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#D97FAC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97FAC
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97FAC#FFFFFF#000000##000000
##D97FAC1.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8892AE
Deuteranopia (green-blind)
#9EA1AA
Tritanopia (blue-blind)
#E57D8F
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d97fac;
/* rgb */ color: rgb(217, 127, 172);
/* oklch */ color: oklch(70.6% 0.123 349.4);
Tailwind
colors: {
  custom: {
    50: '#e6a6c4',
    500: '#d97fac',
    950: '#000000',
  },
}
SCSS
$custom: #d97fac;
$custom-light: #e6a6c4;
$custom-dark: #000000;
JSON
{
  "hex": "#d97fac",
  "rgb": {
    "r": 217,
    "g": 127,
    "b": 172
  },
  "hsl": {
    "h": 330,
    "s": 54.217,
    "l": 67.451
  },
  "oklch": {
    "l": 0.70641,
    "c": 0.12328,
    "h": 349.4
  },
  "luminance": 0.32909
}

Semantic roles & 50–950 ramp

primary
#D97FAC
secondary
#CCE8DA
accent
#C27324
background
#FEFAFC
surface
#FDF4F8
border
#D5CED1
text
#160F12
muted
#847F81

Preview Lab

Preview with #D97FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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