#96287E#96287E

#96287E is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.9% C 0.172 H 338.1°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#96287E
RGBrgb(150, 40, 126)
HSLhsl(313, 58%, 37%)
HSVhsv(313, 73%, 59%)
CMYKcmyk(0%, 73.3%, 16%, 41.2%)
CIE-LABlab(36.95, 54.06, -23.66)
CIE-LCHlch(36.95, 59.01, 336.37°)
OKLaboklab(47.92% 0.1599 -0.0641)
OKLCHoklch(47.92% 0.172 338.1)
XYZxyz(17.1027, 9.5096, 20.6694)
Luminance0.0951 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96287E #289640
analogous
#772896 #96287E #962847
triadic
#96287E #7E9628 #287E96
tetradic
#96287E #967728 #289640 #284796
square
#96287E #967728 #289640 #284796
split-complementary
#96287E #479628 #289677
monochromatic
#350E2D #661B55 #96287E #C635A7 #D563BC

Accessibility & contrast

On white

7.24
#96287E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#96287E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #96287E
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96287E#FFFFFF#000000##FFFFFF
##96287E1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4C80
Deuteranopia (green-blind)
#515D7B
Tritanopia (blue-blind)
#9E2D50
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #96287e;
/* rgb */ color: rgb(150, 40, 126);
/* oklch */ color: oklch(47.9% 0.172 338.1);
Tailwind
colors: {
  custom: {
    50: '#b86da3',
    500: '#96287e',
    950: '#000000',
  },
}
SCSS
$custom: #96287e;
$custom-light: #b86da3;
$custom-dark: #000000;
JSON
{
  "hex": "#96287e",
  "rgb": {
    "r": 150,
    "g": 40,
    "b": 126
  },
  "hsl": {
    "h": 313.091,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47922,
    "c": 0.17231,
    "h": 338.1
  },
  "luminance": 0.09508
}

Semantic roles & 50–950 ramp

primary
#96287E
secondary
#5FBB73
accent
#E16847
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #96287E

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

Preview Lab → · Contrast checker → · Palette generator →

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