#97216E#97216E

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

Color values

HEX#97216E
RGBrgb(151, 33, 110)
HSLhsl(321, 64%, 36%)
HSVhsv(321, 78%, 59%)
CMYKcmyk(0%, 78.1%, 27.2%, 40.8%)
CIE-LABlab(35.59, 54.42, -15.71)
CIE-LCHlch(35.59, 56.64, 343.90°)
OKLaboklab(46.73% 0.1653 -0.0417)
OKLCHoklch(46.73% 0.17 345.8)
XYZxyz(16.1216, 8.7946, 15.5974)
Luminance0.0879 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97216E #21974A
analogous
#852197 #97216E #972133
triadic
#97216E #6E9721 #216E97
tetradic
#97216E #978521 #21974A #213397
square
#97216E #978521 #21974A #213397
split-complementary
#97216E #339721 #219785
monochromatic
#330B25 #651649 #97216E #C92C93 #DA58AD

Accessibility & contrast

On white

7.61
#97216E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#97216E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97216E
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97216E#FFFFFF#000000##FFFFFF
##97216E1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314770
Deuteranopia (green-blind)
#555B6B
Tritanopia (blue-blind)
#A21E45
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #97216e;
/* rgb */ color: rgb(151, 33, 110);
/* oklch */ color: oklch(46.7% 0.170 345.8);
Tailwind
colors: {
  custom: {
    50: '#ba6997',
    500: '#97216e',
    950: '#000000',
  },
}
SCSS
$custom: #97216e;
$custom-light: #ba6997;
$custom-dark: #000000;
JSON
{
  "hex": "#97216e",
  "rgb": {
    "r": 151,
    "g": 33,
    "b": 110
  },
  "hsl": {
    "h": 320.847,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46733,
    "c": 0.17048,
    "h": 345.8
  },
  "luminance": 0.08793
}

Semantic roles & 50–950 ramp

primary
#97216E
secondary
#55BE7A
accent
#E77B41
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070D
muted
#817A7E

Preview Lab

Preview with #97216E

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

Preview Lab → · Contrast checker → · Palette generator →

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