#97217A#97217A

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

Color values

HEX#97217A
RGBrgb(151, 33, 122)
HSLhsl(315, 64%, 36%)
HSVhsv(315, 78%, 59%)
CMYKcmyk(0%, 78.1%, 19.2%, 40.8%)
CIE-LABlab(36.13, 56.03, -22.42)
CIE-LCHlch(36.13, 60.35, 338.19°)
OKLaboklab(47.3% 0.1673 -0.0606)
OKLCHoklch(47.3% 0.178 340.1)
XYZxyz(16.8197, 9.0739, 19.2742)
Luminance0.0907 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97217A #21973E
analogous
#792197 #97217A #97213F
triadic
#97217A #7A9721 #217A97
tetradic
#97217A #977921 #21973E #213F97
square
#97217A #977921 #21973E #213F97
split-complementary
#97217A #3F9721 #219779
monochromatic
#330B29 #651651 #97217A #C92CA3 #DA58BA

Accessibility & contrast

On white

7.46
#97217A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#97217A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97217A
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97217A#FFFFFF#000000##FFFFFF
##97217A1.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A497C
Deuteranopia (green-blind)
#515C77
Tritanopia (blue-blind)
#A0254B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #97217a;
/* rgb */ color: rgb(151, 33, 122);
/* oklch */ color: oklch(47.3% 0.178 340.1);
Tailwind
colors: {
  custom: {
    50: '#b96aa0',
    500: '#97217a',
    950: '#000000',
  },
}
SCSS
$custom: #97217a;
$custom-light: #b96aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#97217a",
  "rgb": {
    "r": 151,
    "g": 33,
    "b": 122
  },
  "hsl": {
    "h": 314.746,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.473,
    "c": 0.17797,
    "h": 340.1
  },
  "luminance": 0.09072
}

Semantic roles & 50–950 ramp

primary
#97217A
secondary
#55BE6F
accent
#E76A41
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #97217A

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

Preview Lab → · Contrast checker → · Palette generator →

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