#96217E#96217E

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

Color values

HEX#96217E
RGBrgb(150, 33, 126)
HSLhsl(312, 64%, 36%)
HSVhsv(312, 78%, 59%)
CMYKcmyk(0%, 78%, 16%, 41.2%)
CIE-LABlab(36.14, 56.36, -24.92)
CIE-LCHlch(36.14, 61.63, 336.15°)
OKLaboklab(47.34% 0.1669 -0.0677)
OKLCHoklch(47.34% 0.18 337.9)
XYZxyz(16.8878, 9.0797, 20.5978)
Luminance0.0908 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96217E #219639
analogous
#732196 #96217E #962143
triadic
#96217E #7E9621 #217E96
tetradic
#96217E #967321 #219639 #214396
square
#96217E #967321 #219639 #214396
split-complementary
#96217E #439621 #219673
monochromatic
#320B2A #641654 #96217E #C82CA8 #DA57BF

Accessibility & contrast

On white

7.46
#96217E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#96217E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #96217E
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96217E#FFFFFF#000000##FFFFFF
##96217E1.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264A80
Deuteranopia (green-blind)
#4F5B7B
Tritanopia (blue-blind)
#9F284E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #96217e;
/* rgb */ color: rgb(150, 33, 126);
/* oklch */ color: oklch(47.3% 0.180 337.9);
Tailwind
colors: {
  custom: {
    50: '#b96aa3',
    500: '#96217e',
    950: '#000000',
  },
}
SCSS
$custom: #96217e;
$custom-light: #b96aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#96217e",
  "rgb": {
    "r": 150,
    "g": 33,
    "b": 126
  },
  "hsl": {
    "h": 312.308,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47337,
    "c": 0.18006,
    "h": 337.9
  },
  "luminance": 0.09078
}

Semantic roles & 50–950 ramp

primary
#96217E
secondary
#55BE6A
accent
#E76341
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #96217E

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

Preview Lab → · Contrast checker → · Palette generator →

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