#97217C#97217C

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

Color values

HEX#97217C
RGBrgb(151, 33, 124)
HSLhsl(314, 64%, 36%)
HSVhsv(314, 78%, 59%)
CMYKcmyk(0%, 78.1%, 17.9%, 40.8%)
CIE-LABlab(36.22, 56.31, -23.53)
CIE-LCHlch(36.22, 61.03, 337.33°)
OKLaboklab(47.4% 0.1676 -0.0637)
OKLCHoklch(47.4% 0.179 339.2)
XYZxyz(16.9449, 9.1239, 19.9336)
Luminance0.0912 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97217C #21973C
analogous
#772197 #97217C #972141
triadic
#97217C #7C9721 #217C97
tetradic
#97217C #977721 #21973C #214197
square
#97217C #977721 #21973C #214197
split-complementary
#97217C #419721 #219777
monochromatic
#330B2A #651653 #97217C #C92CA5 #DA58BD

Accessibility & contrast

On white

7.44
#97217C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #97217C
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97217C#FFFFFF#000000##FFFFFF
##97217C1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29497E
Deuteranopia (green-blind)
#505C79
Tritanopia (blue-blind)
#A0264C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #97217c;
/* rgb */ color: rgb(151, 33, 124);
/* oklch */ color: oklch(47.4% 0.179 339.2);
Tailwind
colors: {
  custom: {
    50: '#b96aa2',
    500: '#97217c',
    950: '#000000',
  },
}
SCSS
$custom: #97217c;
$custom-light: #b96aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#97217c",
  "rgb": {
    "r": 151,
    "g": 33,
    "b": 124
  },
  "hsl": {
    "h": 313.729,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.474,
    "c": 0.1793,
    "h": 339.2
  },
  "luminance": 0.09122
}

Semantic roles & 50–950 ramp

primary
#97217C
secondary
#55BE6D
accent
#E76741
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #97217C

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

Preview Lab → · Contrast checker → · Palette generator →

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