#D97FBE#D97FBE

#D97FBE is a light, vivid pink. Relative luminance 0.336; OKLCH L 71.3% C 0.135 H 339.2°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#D97FBE
RGBrgb(217, 127, 190)
HSLhsl(318, 54%, 67%)
HSVhsv(318, 41%, 85%)
CMYKcmyk(0%, 41.5%, 12.4%, 14.9%)
CIE-LABlab(64.68, 43.36, -18.02)
CIE-LCHlch(64.68, 46.95, 337.43°)
OKLaboklab(71.29% 0.1266 -0.0481)
OKLCHoklch(71.29% 0.135 339.2)
XYZxyz(45.4991, 33.6509, 52.8040)
Luminance0.3365 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97FBE #7FD99A
analogous
#C77FD9 #D97FBE #D97F91
triadic
#D97FBE #BED97F #7FBED9
tetradic
#D97FBE #D9C77F #7FD99A #7F91D9
square
#D97FBE #D9C77F #7FD99A #7F91D9
split-complementary
#D97FBE #91D97F #7FD9C7
monochromatic
#AB3387 #CB50A6 #D97FBE #E7AED6 #F5DDEE

Accessibility & contrast

On white

2.72
#D97FBE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#D97FBE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97FBE
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97FBE#FFFFFF#000000##000000
##D97FBE1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8294C0
Deuteranopia (green-blind)
#99A2BB
Tritanopia (blue-blind)
#E28196
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d97fbe;
/* rgb */ color: rgb(217, 127, 190);
/* oklch */ color: oklch(71.3% 0.135 339.2);
Tailwind
colors: {
  custom: {
    50: '#e6a6d1',
    500: '#d97fbe',
    950: '#000000',
  },
}
SCSS
$custom: #d97fbe;
$custom-light: #e6a6d1;
$custom-dark: #000000;
JSON
{
  "hex": "#d97fbe",
  "rgb": {
    "r": 217,
    "g": 127,
    "b": 190
  },
  "hsl": {
    "h": 318,
    "s": 54.217,
    "l": 67.451
  },
  "oklch": {
    "l": 0.71286,
    "c": 0.13543,
    "h": 339.2
  },
  "luminance": 0.33648
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D97FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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