#96217C#96217C

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

Color values

HEX#96217C
RGBrgb(150, 33, 124)
HSLhsl(313, 64%, 36%)
HSVhsv(313, 78%, 59%)
CMYKcmyk(0%, 78%, 17.3%, 41.2%)
CIE-LABlab(36.04, 56.07, -23.82)
CIE-LCHlch(36.04, 60.92, 336.98°)
OKLaboklab(47.24% 0.1666 -0.0646)
OKLCHoklch(47.24% 0.179 338.8)
XYZxyz(16.7600, 9.0286, 19.9249)
Luminance0.0903 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96217C #21963B
analogous
#752196 #96217C #962142
triadic
#96217C #7C9621 #217C96
tetradic
#96217C #967521 #21963B #214296
square
#96217C #967521 #21963B #214296
split-complementary
#96217C #429621 #219675
monochromatic
#320B29 #641653 #96217C #C82CA5 #DA57BD

Accessibility & contrast

On white

7.49
#96217C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #96217C
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96217C#FFFFFF#000000##FFFFFF
##96217C1.007.492.817.49
#FFFFFF7.491.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28497E
Deuteranopia (green-blind)
#4F5B79
Tritanopia (blue-blind)
#9F274C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #96217c;
/* rgb */ color: rgb(150, 33, 124);
/* oklch */ color: oklch(47.2% 0.179 338.8);
Tailwind
colors: {
  custom: {
    50: '#b96aa2',
    500: '#96217c',
    950: '#000000',
  },
}
SCSS
$custom: #96217c;
$custom-light: #b96aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#96217c",
  "rgb": {
    "r": 150,
    "g": 33,
    "b": 124
  },
  "hsl": {
    "h": 313.333,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47235,
    "c": 0.17869,
    "h": 338.8
  },
  "luminance": 0.09027
}

Semantic roles & 50–950 ramp

primary
#96217C
secondary
#55BE6C
accent
#E76641
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #96217C

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

Preview Lab → · Contrast checker → · Palette generator →

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