#97217B#97217B

#97217B is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.3% C 0.179 H 339.6°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#97217B
RGBrgb(151, 33, 123)
HSLhsl(314, 64%, 36%)
HSVhsv(314, 78%, 59%)
CMYKcmyk(0%, 78.1%, 18.5%, 40.8%)
CIE-LABlab(36.17, 56.17, -22.98)
CIE-LCHlch(36.17, 60.69, 337.75°)
OKLaboklab(47.35% 0.1675 -0.0621)
OKLCHoklch(47.35% 0.179 339.6)
XYZxyz(16.8820, 9.0988, 19.6022)
Luminance0.0910 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97217B #21973D
analogous
#782197 #97217B #972140
triadic
#97217B #7B9721 #217B97
tetradic
#97217B #977821 #21973D #214097
square
#97217B #977821 #21973D #214097
split-complementary
#97217B #409721 #219778
monochromatic
#330B29 #651652 #97217B #C92CA4 #DA58BC

Accessibility & contrast

On white

7.45
#97217B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#97217B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97217B
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97217B#FFFFFF#000000##FFFFFF
##97217B1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29497D
Deuteranopia (green-blind)
#515C78
Tritanopia (blue-blind)
#A0264C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #97217b;
/* rgb */ color: rgb(151, 33, 123);
/* oklch */ color: oklch(47.3% 0.179 339.6);
Tailwind
colors: {
  custom: {
    50: '#b96aa1',
    500: '#97217b',
    950: '#000000',
  },
}
SCSS
$custom: #97217b;
$custom-light: #b96aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#97217b",
  "rgb": {
    "r": 151,
    "g": 33,
    "b": 123
  },
  "hsl": {
    "h": 314.237,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4735,
    "c": 0.17863,
    "h": 339.6
  },
  "luminance": 0.09097
}

Semantic roles & 50–950 ramp

primary
#97217B
secondary
#55BE6E
accent
#E76841
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #97217B

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

Preview Lab → · Contrast checker → · Palette generator →

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