#97217E#97217E

#97217E is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.5% C 0.181 H 338.3°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#97217E
RGBrgb(151, 33, 126)
HSLhsl(313, 64%, 36%)
HSVhsv(313, 78%, 59%)
CMYKcmyk(0%, 78.1%, 16.6%, 40.8%)
CIE-LABlab(36.32, 56.60, -24.62)
CIE-LCHlch(36.32, 61.72, 336.49°)
OKLaboklab(47.5% 0.1678 -0.0668)
OKLCHoklch(47.5% 0.181 338.3)
XYZxyz(17.0727, 9.1750, 20.6064)
Luminance0.0917 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97217E #21973A
analogous
#752197 #97217E #972143
triadic
#97217E #7E9721 #217E97
tetradic
#97217E #977521 #21973A #214397
square
#97217E #977521 #21973A #214397
split-complementary
#97217E #439721 #219775
monochromatic
#330B2A #651654 #97217E #C92CA8 #DA58BF

Accessibility & contrast

On white

7.41
#97217E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #97217E
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97217E#FFFFFF#000000##FFFFFF
##97217E1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274A80
Deuteranopia (green-blind)
#505C7B
Tritanopia (blue-blind)
#A0274E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #97217e;
/* rgb */ color: rgb(151, 33, 126);
/* oklch */ color: oklch(47.5% 0.181 338.3);
Tailwind
colors: {
  custom: {
    50: '#b96aa3',
    500: '#97217e',
    950: '#000000',
  },
}
SCSS
$custom: #97217e;
$custom-light: #b96aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#97217e",
  "rgb": {
    "r": 151,
    "g": 33,
    "b": 126
  },
  "hsl": {
    "h": 312.712,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47502,
    "c": 0.18065,
    "h": 338.3
  },
  "luminance": 0.09173
}

Semantic roles & 50–950 ramp

primary
#97217E
secondary
#55BE6C
accent
#E76441
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #97217E

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

Preview Lab → · Contrast checker → · Palette generator →

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