#97216F#97216F

#97216F is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.8% C 0.171 H 345.3°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#97216F
RGBrgb(151, 33, 111)
HSLhsl(320, 64%, 36%)
HSVhsv(320, 78%, 59%)
CMYKcmyk(0%, 78.1%, 26.5%, 40.8%)
CIE-LABlab(35.63, 54.55, -16.27)
CIE-LCHlch(35.63, 56.93, 343.39°)
OKLaboklab(46.78% 0.1655 -0.0433)
OKLCHoklch(46.78% 0.171 345.3)
XYZxyz(16.1763, 8.8165, 15.8857)
Luminance0.0882 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97216F #219749
analogous
#842197 #97216F #972134
triadic
#97216F #6F9721 #216F97
tetradic
#97216F #978421 #219749 #213497
square
#97216F #978421 #219749 #213497
split-complementary
#97216F #349721 #219784
monochromatic
#330B25 #65164A #97216F #C92C94 #DA58AE

Accessibility & contrast

On white

7.60
#97216F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #97216F
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97216F#FFFFFF#000000##FFFFFF
##97216F1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314771
Deuteranopia (green-blind)
#555B6C
Tritanopia (blue-blind)
#A21F45
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #97216f;
/* rgb */ color: rgb(151, 33, 111);
/* oklch */ color: oklch(46.8% 0.171 345.3);
Tailwind
colors: {
  custom: {
    50: '#ba6998',
    500: '#97216f',
    950: '#000000',
  },
}
SCSS
$custom: #97216f;
$custom-light: #ba6998;
$custom-dark: #000000;
JSON
{
  "hex": "#97216f",
  "rgb": {
    "r": 151,
    "g": 33,
    "b": 111
  },
  "hsl": {
    "h": 320.339,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46778,
    "c": 0.17106,
    "h": 345.3
  },
  "luminance": 0.08815
}

Semantic roles & 50–950 ramp

primary
#97216F
secondary
#55BE79
accent
#E77941
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070D
muted
#817A7E

Preview Lab

Preview with #97216F

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

Preview Lab → · Contrast checker → · Palette generator →

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