#D97FA5#D97FA5

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

Color values

HEX#D97FA5
RGBrgb(217, 127, 165)
HSLhsl(335, 54%, 67%)
HSVhsv(335, 41%, 85%)
CMYKcmyk(0%, 41.5%, 24%, 14.9%)
CIE-LABlab(63.88, 39.53, -5.08)
CIE-LCHlch(63.88, 39.86, 352.68°)
OKLaboklab(70.41% 0.1189 -0.0129)
OKLCHoklch(70.41% 0.12 353.8)
XYZxyz(42.9972, 32.6502, 39.6275)
Luminance0.3265 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97FA5 #7FD9B3
analogous
#D97FD2 #D97FA5 #D9867F
triadic
#D97FA5 #A5D97F #7FA5D9
tetradic
#D97FA5 #D2D97F #7FD9B3 #867FD9
square
#D97FA5 #D2D97F #7FD9B3 #867FD9
split-complementary
#D97FA5 #7FD986 #7FD2D9
monochromatic
#AB3365 #CB5084 #D97FA5 #E7AEC6 #F5DDE7

Accessibility & contrast

On white

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

On black

7.53
#D97FA5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97FA5
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97FA5#FFFFFF#000000##000000
##D97FA51.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8991A6
Deuteranopia (green-blind)
#A0A1A3
Tritanopia (blue-blind)
#E67B8D
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d97fa5;
/* rgb */ color: rgb(217, 127, 165);
/* oklch */ color: oklch(70.4% 0.120 353.8);
Tailwind
colors: {
  custom: {
    50: '#e7a6bf',
    500: '#d97fa5',
    950: '#000000',
  },
}
SCSS
$custom: #d97fa5;
$custom-light: #e7a6bf;
$custom-dark: #000000;
JSON
{
  "hex": "#d97fa5",
  "rgb": {
    "r": 217,
    "g": 127,
    "b": 165
  },
  "hsl": {
    "h": 334.667,
    "s": 54.217,
    "l": 67.451
  },
  "oklch": {
    "l": 0.7041,
    "c": 0.11956,
    "h": 353.8
  },
  "luminance": 0.32647
}

Semantic roles & 50–950 ramp

primary
#D97FA5
secondary
#CCE8DC
accent
#C27F24
background
#FEFAFB
surface
#FDF4F7
border
#D5CED0
text
#160F12
muted
#847F81

Preview Lab

Preview with #D97FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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