#96177F#96177F

#96177F is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.7% C 0.190 H 337.3°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#96177F
RGBrgb(150, 23, 127)
HSLhsl(311, 73%, 34%)
HSVhsv(311, 85%, 59%)
CMYKcmyk(0%, 84.7%, 15.3%, 41.2%)
CIE-LABlab(35.26, 59.17, -26.91)
CIE-LCHlch(35.26, 65.00, 335.54°)
OKLaboklab(46.73% 0.1749 -0.0733)
OKLCHoklch(46.73% 0.19 337.3)
XYZxyz(16.7152, 8.6308, 20.8602)
Luminance0.0863 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96177F #17962E
analogous
#6E1796 #96177F #961740
triadic
#96177F #7F9617 #177F96
tetradic
#96177F #966E17 #17962E #174096
square
#96177F #966E17 #17962E #174096
split-complementary
#96177F #409617 #17966E
monochromatic
#2C0725 #610F52 #96177F #CB1FAC #E245C6

Accessibility & contrast

On white

7.70
#96177F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#96177F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #96177F
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96177F#FFFFFF#000000##FFFFFF
##96177F1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4782
Deuteranopia (green-blind)
#4B5A7C
Tritanopia (blue-blind)
#9F214C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #96177f;
/* rgb */ color: rgb(150, 23, 127);
/* oklch */ color: oklch(46.7% 0.190 337.3);
Tailwind
colors: {
  custom: {
    50: '#b967a4',
    500: '#96177f',
    950: '#000000',
  },
}
SCSS
$custom: #96177f;
$custom-light: #b967a4;
$custom-dark: #000000;
JSON
{
  "hex": "#96177f",
  "rgb": {
    "r": 150,
    "g": 23,
    "b": 127
  },
  "hsl": {
    "h": 310.866,
    "s": 73.41,
    "l": 33.922
  },
  "oklch": {
    "l": 0.46726,
    "c": 0.18969,
    "h": 337.3
  },
  "luminance": 0.08629
}

Semantic roles & 50–950 ramp

primary
#96177F
secondary
#45C35C
accent
#F05938
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #96177F

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

Preview Lab → · Contrast checker → · Palette generator →

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