#96217B#96217B

#96217B is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.2% C 0.178 H 339.3°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#96217B
RGBrgb(150, 33, 123)
HSLhsl(314, 64%, 36%)
HSVhsv(314, 78%, 59%)
CMYKcmyk(0%, 78%, 18%, 41.2%)
CIE-LABlab(35.99, 55.93, -23.27)
CIE-LCHlch(35.99, 60.58, 337.41°)
OKLaboklab(47.18% 0.1665 -0.063)
OKLCHoklch(47.18% 0.178 339.3)
XYZxyz(16.6971, 9.0035, 19.5935)
Luminance0.0900 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96217B #21963C
analogous
#762196 #96217B #962140
triadic
#96217B #7B9621 #217B96
tetradic
#96217B #967621 #21963C #214096
square
#96217B #967621 #21963C #214096
split-complementary
#96217B #409621 #219676
monochromatic
#320B29 #641652 #96217B #C82CA4 #DA57BC

Accessibility & contrast

On white

7.50
#96217B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#96217B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #96217B
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96217B#FFFFFF#000000##FFFFFF
##96217B1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29497D
Deuteranopia (green-blind)
#505B78
Tritanopia (blue-blind)
#9F264C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #96217b;
/* rgb */ color: rgb(150, 33, 123);
/* oklch */ color: oklch(47.2% 0.178 339.3);
Tailwind
colors: {
  custom: {
    50: '#b96aa1',
    500: '#96217b',
    950: '#000000',
  },
}
SCSS
$custom: #96217b;
$custom-light: #b96aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#96217b",
  "rgb": {
    "r": 150,
    "g": 33,
    "b": 123
  },
  "hsl": {
    "h": 313.846,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47184,
    "c": 0.17802,
    "h": 339.3
  },
  "luminance": 0.09002
}

Semantic roles & 50–950 ramp

primary
#96217B
secondary
#55BE6D
accent
#E76741
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #96217B

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

Preview Lab → · Contrast checker → · Palette generator →

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