#97217D#97217D

#97217D is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.5% C 0.180 H 338.7°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#97217D
RGBrgb(151, 33, 125)
HSLhsl(313, 64%, 36%)
HSVhsv(313, 78%, 59%)
CMYKcmyk(0%, 78.1%, 17.2%, 40.8%)
CIE-LABlab(36.27, 56.46, -24.07)
CIE-LCHlch(36.27, 61.38, 336.91°)
OKLaboklab(47.45% 0.1677 -0.0653)
OKLCHoklch(47.45% 0.18 338.7)
XYZxyz(17.0085, 9.1494, 20.2683)
Luminance0.0915 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97217D #21973B
analogous
#762197 #97217D #972142
triadic
#97217D #7D9721 #217D97
tetradic
#97217D #977621 #21973B #214297
square
#97217D #977621 #21973B #214297
split-complementary
#97217D #429721 #219776
monochromatic
#330B2A #651653 #97217D #C92CA7 #DA58BE

Accessibility & contrast

On white

7.42
#97217D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#97217D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97217D
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97217D#FFFFFF#000000##FFFFFF
##97217D1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284A7F
Deuteranopia (green-blind)
#505C7A
Tritanopia (blue-blind)
#A0274D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #97217d;
/* rgb */ color: rgb(151, 33, 125);
/* oklch */ color: oklch(47.5% 0.180 338.7);
Tailwind
colors: {
  custom: {
    50: '#b96aa3',
    500: '#97217d',
    950: '#000000',
  },
}
SCSS
$custom: #97217d;
$custom-light: #b96aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#97217d",
  "rgb": {
    "r": 151,
    "g": 33,
    "b": 125
  },
  "hsl": {
    "h": 313.22,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47451,
    "c": 0.17997,
    "h": 338.7
  },
  "luminance": 0.09148
}

Semantic roles & 50–950 ramp

primary
#97217D
secondary
#55BE6C
accent
#E76541
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #97217D

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

Preview Lab → · Contrast checker → · Palette generator →

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