#97216D#97216D

#97216D is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.7% C 0.170 H 346.3°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#97216D
RGBrgb(151, 33, 109)
HSLhsl(321, 64%, 36%)
HSVhsv(321, 78%, 59%)
CMYKcmyk(0%, 78.1%, 27.8%, 40.8%)
CIE-LABlab(35.54, 54.29, -15.14)
CIE-LCHlch(35.54, 56.36, 344.42°)
OKLaboklab(46.69% 0.1651 -0.0401)
OKLCHoklch(46.69% 0.17 346.3)
XYZxyz(16.0674, 8.7730, 15.3122)
Luminance0.0877 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97216D #21974B
analogous
#862197 #97216D #972132
triadic
#97216D #6D9721 #216D97
tetradic
#97216D #978621 #21974B #213297
square
#97216D #978621 #21974B #213297
split-complementary
#97216D #329721 #219786
monochromatic
#330B24 #651649 #97216D #C92C91 #DA58AC

Accessibility & contrast

On white

7.62
#97216D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#97216D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97216D
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97216D#FFFFFF#000000##FFFFFF
##97216D1.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32476F
Deuteranopia (green-blind)
#555B6A
Tritanopia (blue-blind)
#A21D44
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #97216d;
/* rgb */ color: rgb(151, 33, 109);
/* oklch */ color: oklch(46.7% 0.170 346.3);
Tailwind
colors: {
  custom: {
    50: '#ba6997',
    500: '#97216d',
    950: '#000000',
  },
}
SCSS
$custom: #97216d;
$custom-light: #ba6997;
$custom-dark: #000000;
JSON
{
  "hex": "#97216d",
  "rgb": {
    "r": 151,
    "g": 33,
    "b": 109
  },
  "hsl": {
    "h": 321.356,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46688,
    "c": 0.16989,
    "h": 346.3
  },
  "luminance": 0.08771
}

Semantic roles & 50–950 ramp

primary
#97216D
secondary
#55BE7B
accent
#E77C41
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070D
muted
#817A7E

Preview Lab

Preview with #97216D

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

Preview Lab → · Contrast checker → · Palette generator →

#97216D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva