#D97FAA#D97FAA

#D97FAA is a light, vivid pink. Relative luminance 0.328; OKLCH L 70.6% C 0.122 H 350.6°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#D97FAA
RGBrgb(217, 127, 170)
HSLhsl(331, 54%, 67%)
HSVhsv(331, 41%, 85%)
CMYKcmyk(0%, 41.5%, 21.7%, 14.9%)
CIE-LABlab(64.03, 40.26, -7.69)
CIE-LCHlch(64.03, 40.99, 349.18°)
OKLaboklab(70.57% 0.1205 -0.0199)
OKLCHoklch(70.57% 0.122 350.6)
XYZxyz(43.4612, 32.8358, 42.0713)
Luminance0.3283 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97FAA #7FD9AE
analogous
#D97FD7 #D97FAA #D9817F
triadic
#D97FAA #AAD97F #7FAAD9
tetradic
#D97FAA #D7D97F #7FD9AE #817FD9
square
#D97FAA #D7D97F #7FD9AE #817FD9
split-complementary
#D97FAA #7FD981 #7FD7D9
monochromatic
#AB336C #CB508B #D97FAA #E7AEC9 #F5DDE9

Accessibility & contrast

On white

2.78
#D97FAA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#D97FAA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97FAA
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97FAA#FFFFFF#000000##000000
##D97FAA1.002.787.577.57
#FFFFFF2.781.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8892AC
Deuteranopia (green-blind)
#9FA1A8
Tritanopia (blue-blind)
#E57C8E
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d97faa;
/* rgb */ color: rgb(217, 127, 170);
/* oklch */ color: oklch(70.6% 0.122 350.6);
Tailwind
colors: {
  custom: {
    50: '#e6a6c3',
    500: '#d97faa',
    950: '#000000',
  },
}
SCSS
$custom: #d97faa;
$custom-light: #e6a6c3;
$custom-dark: #000000;
JSON
{
  "hex": "#d97faa",
  "rgb": {
    "r": 217,
    "g": 127,
    "b": 170
  },
  "hsl": {
    "h": 331.333,
    "s": 54.217,
    "l": 67.451
  },
  "oklch": {
    "l": 0.70574,
    "c": 0.12216,
    "h": 350.6
  },
  "luminance": 0.32833
}

Semantic roles & 50–950 ramp

primary
#D97FAA
secondary
#CCE8DB
accent
#C27624
background
#FEFAFB
surface
#FDF4F7
border
#D5CED0
text
#160F12
muted
#847F81

Preview Lab

Preview with #D97FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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