#96197F#96197F

#96197F is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.8% C 0.188 H 337.3°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#96197F
RGBrgb(150, 25, 127)
HSLhsl(311, 71%, 34%)
HSVhsv(311, 83%, 59%)
CMYKcmyk(0%, 83.3%, 15.3%, 41.2%)
CIE-LABlab(35.43, 58.70, -26.66)
CIE-LCHlch(35.43, 64.47, 335.58°)
OKLaboklab(46.84% 0.1735 -0.0726)
OKLCHoklch(46.84% 0.188 337.3)
XYZxyz(16.7564, 8.7132, 20.8739)
Luminance0.0871 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96197F #199630
analogous
#6F1996 #96197F #961941
triadic
#96197F #7F9619 #197F96
tetradic
#96197F #966F19 #199630 #194196
square
#96197F #966F19 #199630 #194196
split-complementary
#96197F #419619 #19966F
monochromatic
#2D0826 #621053 #96197F #CA22AB #E149C5

Accessibility & contrast

On white

7.66
#96197F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#96197F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #96197F
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96197F#FFFFFF#000000##FFFFFF
##96197F1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4782
Deuteranopia (green-blind)
#4C5A7C
Tritanopia (blue-blind)
#9E234C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #96197f;
/* rgb */ color: rgb(150, 25, 127);
/* oklch */ color: oklch(46.8% 0.188 337.3);
Tailwind
colors: {
  custom: {
    50: '#b967a4',
    500: '#96197f',
    950: '#000000',
  },
}
SCSS
$custom: #96197f;
$custom-light: #b967a4;
$custom-dark: #000000;
JSON
{
  "hex": "#96197f",
  "rgb": {
    "r": 150,
    "g": 25,
    "b": 127
  },
  "hsl": {
    "h": 311.04,
    "s": 71.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46843,
    "c": 0.18811,
    "h": 337.3
  },
  "luminance": 0.08712
}

Semantic roles & 50–950 ramp

primary
#96197F
secondary
#49C25F
accent
#EE5B3A
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #96197F

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

Preview Lab → · Contrast checker → · Palette generator →

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