#D97FC5#D97FC5

#D97FC5 is a light, vivid pink. Relative luminance 0.340; OKLCH L 71.6% C 0.141 H 335.7°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#D97FC5
RGBrgb(217, 127, 197)
HSLhsl(313, 54%, 67%)
HSVhsv(313, 41%, 85%)
CMYKcmyk(0%, 41.5%, 9.2%, 14.9%)
CIE-LABlab(64.93, 44.51, -21.58)
CIE-LCHlch(64.93, 49.47, 334.13°)
OKLaboklab(71.56% 0.1285 -0.058)
OKLCHoklch(71.56% 0.141 335.7)
XYZxyz(46.2826, 33.9643, 56.9305)
Luminance0.3396 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97FC5 #7FD993
analogous
#C07FD9 #D97FC5 #D97F98
triadic
#D97FC5 #C5D97F #7FC5D9
tetradic
#D97FC5 #D9C07F #7FD993 #7F98D9
square
#D97FC5 #D9C07F #7FD993 #7F98D9
split-complementary
#D97FC5 #98D97F #7FD9C0
monochromatic
#AB3390 #CB50B0 #D97FC5 #E7AEDA #F5DDF0

Accessibility & contrast

On white

2.69
#D97FC5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#D97FC5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97FC5
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97FC5#FFFFFF#000000##000000
##D97FC51.002.697.797.79
#FFFFFF2.691.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8095C8
Deuteranopia (green-blind)
#97A2C2
Tritanopia (blue-blind)
#E18399
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d97fc5;
/* rgb */ color: rgb(217, 127, 197);
/* oklch */ color: oklch(71.6% 0.141 335.7);
Tailwind
colors: {
  custom: {
    50: '#e6a6d6',
    500: '#d97fc5',
    950: '#000000',
  },
}
SCSS
$custom: #d97fc5;
$custom-light: #e6a6d6;
$custom-dark: #000000;
JSON
{
  "hex": "#d97fc5",
  "rgb": {
    "r": 217,
    "g": 127,
    "b": 197
  },
  "hsl": {
    "h": 313.333,
    "s": 54.217,
    "l": 67.451
  },
  "oklch": {
    "l": 0.71556,
    "c": 0.14097,
    "h": 335.7
  },
  "luminance": 0.33962
}

Semantic roles & 50–950 ramp

primary
#D97FC5
secondary
#CCE8D2
accent
#C24724
background
#FEFAFD
surface
#FDF4FA
border
#D5CED3
text
#160F14
muted
#847F83

Preview Lab

Preview with #D97FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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