#96217F#96217F

#96217F is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.4% C 0.181 H 337.5°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#96217F
RGBrgb(150, 33, 127)
HSLhsl(312, 64%, 36%)
HSVhsv(312, 78%, 59%)
CMYKcmyk(0%, 78%, 15.3%, 41.2%)
CIE-LABlab(36.19, 56.51, -25.46)
CIE-LCHlch(36.19, 61.98, 335.74°)
OKLaboklab(47.39% 0.1669 -0.0693)
OKLCHoklch(47.39% 0.181 337.5)
XYZxyz(16.9527, 9.1057, 20.9393)
Luminance0.0910 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96217F #219638
analogous
#722196 #96217F #962144
triadic
#96217F #7F9621 #217F96
tetradic
#96217F #967221 #219638 #214496
square
#96217F #967221 #219638 #214496
split-complementary
#96217F #449621 #219672
monochromatic
#320B2A #641655 #96217F #C82CA9 #DA57C0

Accessibility & contrast

On white

7.44
#96217F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #96217F
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96217F#FFFFFF#000000##FFFFFF
##96217F1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264A81
Deuteranopia (green-blind)
#4E5B7C
Tritanopia (blue-blind)
#9E284E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #96217f;
/* rgb */ color: rgb(150, 33, 127);
/* oklch */ color: oklch(47.4% 0.181 337.5);
Tailwind
colors: {
  custom: {
    50: '#b96aa4',
    500: '#96217f',
    950: '#000000',
  },
}
SCSS
$custom: #96217f;
$custom-light: #b96aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#96217f",
  "rgb": {
    "r": 150,
    "g": 33,
    "b": 127
  },
  "hsl": {
    "h": 311.795,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47389,
    "c": 0.18074,
    "h": 337.5
  },
  "luminance": 0.09104
}

Semantic roles & 50–950 ramp

primary
#96217F
secondary
#55BE69
accent
#E76241
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #96217F

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

Preview Lab → · Contrast checker → · Palette generator →

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