#97216B#97216B

#97216B is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.6% C 0.169 H 347.4°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#97216B
RGBrgb(151, 33, 107)
HSLhsl(322, 64%, 36%)
HSVhsv(322, 78%, 59%)
CMYKcmyk(0%, 78.1%, 29.1%, 40.8%)
CIE-LABlab(35.46, 54.04, -14.00)
CIE-LCHlch(35.46, 55.83, 345.48°)
OKLaboklab(46.6% 0.1647 -0.0369)
OKLCHoklch(46.6% 0.169 347.4)
XYZxyz(15.9610, 8.7304, 14.7517)
Luminance0.0873 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97216B #21974D
analogous
#882197 #97216B #972130
triadic
#97216B #6B9721 #216B97
tetradic
#97216B #978821 #21974D #213097
square
#97216B #978821 #21974D #213097
split-complementary
#97216B #309721 #219788
monochromatic
#330B24 #651647 #97216B #C92C8F #DA58AA

Accessibility & contrast

On white

7.65
#97216B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #97216B
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97216B#FFFFFF#000000##FFFFFF
##97216B1.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33466D
Deuteranopia (green-blind)
#565B68
Tritanopia (blue-blind)
#A21C43
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #97216b;
/* rgb */ color: rgb(151, 33, 107);
/* oklch */ color: oklch(46.6% 0.169 347.4);
Tailwind
colors: {
  custom: {
    50: '#ba6995',
    500: '#97216b',
    950: '#000000',
  },
}
SCSS
$custom: #97216b;
$custom-light: #ba6995;
$custom-dark: #000000;
JSON
{
  "hex": "#97216b",
  "rgb": {
    "r": 151,
    "g": 33,
    "b": 107
  },
  "hsl": {
    "h": 322.373,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.466,
    "c": 0.16874,
    "h": 347.4
  },
  "luminance": 0.08729
}

Semantic roles & 50–950 ramp

primary
#97216B
secondary
#55BE7D
accent
#E77F41
background
#FBF6F9
surface
#F7ECF1
border
#D0C7CB
text
#12070D
muted
#817A7E

Preview Lab

Preview with #97216B

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

Preview Lab → · Contrast checker → · Palette generator →

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