#96217D#96217D

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

Color values

HEX#96217D
RGBrgb(150, 33, 125)
HSLhsl(313, 64%, 36%)
HSVhsv(313, 78%, 59%)
CMYKcmyk(0%, 78%, 16.7%, 41.2%)
CIE-LABlab(36.09, 56.22, -24.37)
CIE-LCHlch(36.09, 61.27, 336.56°)
OKLaboklab(47.29% 0.1667 -0.0661)
OKLCHoklch(47.29% 0.179 338.4)
XYZxyz(16.8236, 9.0540, 20.2596)
Luminance0.0905 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96217D #21963A
analogous
#742196 #96217D #962142
triadic
#96217D #7D9621 #217D96
tetradic
#96217D #967421 #21963A #214296
square
#96217D #967421 #21963A #214296
split-complementary
#96217D #429621 #219674
monochromatic
#320B29 #641653 #96217D #C82CA7 #DA57BE

Accessibility & contrast

On white

7.47
#96217D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#96217D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #96217D
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96217D#FFFFFF#000000##FFFFFF
##96217D1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27497F
Deuteranopia (green-blind)
#4F5B7A
Tritanopia (blue-blind)
#9F274D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #96217d;
/* rgb */ color: rgb(150, 33, 125);
/* oklch */ color: oklch(47.3% 0.179 338.4);
Tailwind
colors: {
  custom: {
    50: '#b96aa3',
    500: '#96217d',
    950: '#000000',
  },
}
SCSS
$custom: #96217d;
$custom-light: #b96aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#96217d",
  "rgb": {
    "r": 150,
    "g": 33,
    "b": 125
  },
  "hsl": {
    "h": 312.821,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47286,
    "c": 0.17938,
    "h": 338.4
  },
  "luminance": 0.09052
}

Semantic roles & 50–950 ramp

primary
#96217D
secondary
#55BE6B
accent
#E76441
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #96217D

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

Preview Lab → · Contrast checker → · Palette generator →

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