#D97FA3#D97FA3

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

Color values

HEX#D97FA3
RGBrgb(217, 127, 163)
HSLhsl(336, 54%, 67%)
HSVhsv(336, 41%, 85%)
CMYKcmyk(0%, 41.5%, 24.9%, 14.9%)
CIE-LABlab(63.82, 39.25, -4.03)
CIE-LCHlch(63.82, 39.45, 354.14°)
OKLaboklab(70.35% 0.1182 -0.0101)
OKLCHoklch(70.35% 0.119 355.1)
XYZxyz(42.8166, 32.5779, 38.6763)
Luminance0.3257 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97FA3 #7FD9B5
analogous
#D97FD0 #D97FA3 #D9887F
triadic
#D97FA3 #A3D97F #7FA3D9
tetradic
#D97FA3 #D0D97F #7FD9B5 #887FD9
square
#D97FA3 #D0D97F #7FD9B5 #887FD9
split-complementary
#D97FA3 #7FD988 #7FD0D9
monochromatic
#AB3363 #CB5081 #D97FA3 #E7AEC5 #F5DDE7

Accessibility & contrast

On white

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

On black

7.51
#D97FA3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97FA3
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97FA3#FFFFFF#000000##000000
##D97FA31.002.797.517.51
#FFFFFF2.791.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d97fa3;
/* rgb */ color: rgb(217, 127, 163);
/* oklch */ color: oklch(70.3% 0.119 355.1);
Tailwind
colors: {
  custom: {
    50: '#e7a6be',
    500: '#d97fa3',
    950: '#000000',
  },
}
SCSS
$custom: #d97fa3;
$custom-light: #e7a6be;
$custom-dark: #000000;
JSON
{
  "hex": "#d97fa3",
  "rgb": {
    "r": 217,
    "g": 127,
    "b": 163
  },
  "hsl": {
    "h": 336,
    "s": 54.217,
    "l": 67.451
  },
  "oklch": {
    "l": 0.70345,
    "c": 0.11861,
    "h": 355.1
  },
  "luminance": 0.32575
}

Semantic roles & 50–950 ramp

primary
#D97FA3
secondary
#CCE8DD
accent
#C28324
background
#FEFAFB
surface
#FDF4F6
border
#D5CED0
text
#160F12
muted
#847F81

Preview Lab

Preview with #D97FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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