#96187E#96187E

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

Color values

HEX#96187E
RGBrgb(150, 24, 126)
HSLhsl(311, 72%, 34%)
HSVhsv(311, 84%, 59%)
CMYKcmyk(0%, 84%, 16%, 41.2%)
CIE-LABlab(35.29, 58.79, -26.24)
CIE-LCHlch(35.29, 64.38, 335.95°)
OKLaboklab(46.73% 0.1742 -0.0714)
OKLCHoklch(46.73% 0.188 337.7)
XYZxyz(16.6706, 8.6453, 20.5254)
Luminance0.0864 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96187E #189630
analogous
#6F1896 #96187E #96183F
triadic
#96187E #7E9618 #187E96
tetradic
#96187E #966F18 #189630 #183F96
square
#96187E #966F18 #189630 #183F96
split-complementary
#96187E #3F9618 #18966F
monochromatic
#2C0725 #611052 #96187E #CB20AA #E247C4

Accessibility & contrast

On white

7.70
#96187E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#96187E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #96187E
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96187E#FFFFFF#000000##FFFFFF
##96187E1.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)
#1E4781
Deuteranopia (green-blind)
#4C5A7B
Tritanopia (blue-blind)
#9F214B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #96187e;
/* rgb */ color: rgb(150, 24, 126);
/* oklch */ color: oklch(46.7% 0.188 337.7);
Tailwind
colors: {
  custom: {
    50: '#b967a3',
    500: '#96187e',
    950: '#000000',
  },
}
SCSS
$custom: #96187e;
$custom-light: #b967a3;
$custom-dark: #000000;
JSON
{
  "hex": "#96187e",
  "rgb": {
    "r": 150,
    "g": 24,
    "b": 126
  },
  "hsl": {
    "h": 311.429,
    "s": 72.414,
    "l": 34.118
  },
  "oklch": {
    "l": 0.4673,
    "c": 0.18824,
    "h": 337.7
  },
  "luminance": 0.08644
}

Semantic roles & 50–950 ramp

primary
#96187E
secondary
#47C35F
accent
#EF5B39
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #96187E

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

Preview Lab → · Contrast checker → · Palette generator →

#96187E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva