#96287F#96287F

#96287F is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.0% C 0.173 H 337.7°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#96287F
RGBrgb(150, 40, 127)
HSLhsl(313, 58%, 37%)
HSVhsv(313, 73%, 59%)
CMYKcmyk(0%, 73.3%, 15.3%, 41.2%)
CIE-LABlab(37.00, 54.21, -24.20)
CIE-LCHlch(37.00, 59.36, 335.94°)
OKLaboklab(47.97% 0.1601 -0.0657)
OKLCHoklch(47.97% 0.173 337.7)
XYZxyz(17.1676, 9.5355, 21.0109)
Luminance0.0953 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96287F #28963F
analogous
#762896 #96287F #962848
triadic
#96287F #7F9628 #287F96
tetradic
#96287F #967628 #28963F #284896
square
#96287F #967628 #28963F #284896
split-complementary
#96287F #489628 #289676
monochromatic
#350E2D #661B56 #96287F #C635A8 #D563BD

Accessibility & contrast

On white

7.22
#96287F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#96287F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #96287F
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96287F#FFFFFF#000000##FFFFFF
##96287F1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4C81
Deuteranopia (green-blind)
#515D7C
Tritanopia (blue-blind)
#9E2E50
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #96287f;
/* rgb */ color: rgb(150, 40, 127);
/* oklch */ color: oklch(48.0% 0.173 337.7);
Tailwind
colors: {
  custom: {
    50: '#b86da4',
    500: '#96287f',
    950: '#000000',
  },
}
SCSS
$custom: #96287f;
$custom-light: #b86da4;
$custom-dark: #000000;
JSON
{
  "hex": "#96287f",
  "rgb": {
    "r": 150,
    "g": 40,
    "b": 127
  },
  "hsl": {
    "h": 312.545,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47973,
    "c": 0.17301,
    "h": 337.7
  },
  "luminance": 0.09534
}

Semantic roles & 50–950 ramp

primary
#96287F
secondary
#5FBB72
accent
#E16747
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #96287F

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

Preview Lab → · Contrast checker → · Palette generator →

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