#D97FBF#D97FBF

#D97FBF is a light, vivid pink. Relative luminance 0.337; OKLCH L 71.3% C 0.136 H 338.7°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#D97FBF
RGBrgb(217, 127, 191)
HSLhsl(317, 54%, 67%)
HSVhsv(317, 41%, 85%)
CMYKcmyk(0%, 41.5%, 12%, 14.9%)
CIE-LABlab(64.72, 43.52, -18.53)
CIE-LCHlch(64.72, 47.30, 336.93°)
OKLaboklab(71.32% 0.1269 -0.0496)
OKLCHoklch(71.32% 0.136 338.7)
XYZxyz(45.6088, 33.6948, 53.3816)
Luminance0.3369 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97FBF #7FD999
analogous
#C67FD9 #D97FBF #D97F92
triadic
#D97FBF #BFD97F #7FBFD9
tetradic
#D97FBF #D9C67F #7FD999 #7F92D9
square
#D97FBF #D9C67F #7FD999 #7F92D9
split-complementary
#D97FBF #92D97F #7FD9C6
monochromatic
#AB3388 #CB50A7 #D97FBF #E7AED7 #F5DDEE

Accessibility & contrast

On white

2.71
#D97FBF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#D97FBF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97FBF
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97FBF#FFFFFF#000000##000000
##D97FBF1.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8294C1
Deuteranopia (green-blind)
#99A2BC
Tritanopia (blue-blind)
#E28197
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d97fbf;
/* rgb */ color: rgb(217, 127, 191);
/* oklch */ color: oklch(71.3% 0.136 338.7);
Tailwind
colors: {
  custom: {
    50: '#e6a6d2',
    500: '#d97fbf',
    950: '#000000',
  },
}
SCSS
$custom: #d97fbf;
$custom-light: #e6a6d2;
$custom-dark: #000000;
JSON
{
  "hex": "#d97fbf",
  "rgb": {
    "r": 217,
    "g": 127,
    "b": 191
  },
  "hsl": {
    "h": 317.333,
    "s": 54.217,
    "l": 67.451
  },
  "oklch": {
    "l": 0.71324,
    "c": 0.13619,
    "h": 338.7
  },
  "luminance": 0.33692
}

Semantic roles & 50–950 ramp

primary
#D97FBF
secondary
#CCE8D4
accent
#C25124
background
#FEFAFC
surface
#FDF4F9
border
#D5CED2
text
#160F14
muted
#847F82

Preview Lab

Preview with #D97FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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