#96287D#96287D

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

Color values

HEX#96287D
RGBrgb(150, 40, 125)
HSLhsl(314, 58%, 37%)
HSVhsv(314, 73%, 59%)
CMYKcmyk(0%, 73.3%, 16.7%, 41.2%)
CIE-LABlab(36.90, 53.91, -23.11)
CIE-LCHlch(36.90, 58.65, 336.80°)
OKLaboklab(47.87% 0.1598 -0.0626)
OKLCHoklch(47.87% 0.172 338.6)
XYZxyz(17.0385, 9.4839, 20.3313)
Luminance0.0948 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96287D #289641
analogous
#782896 #96287D #962846
triadic
#96287D #7D9628 #287D96
tetradic
#96287D #967828 #289641 #284696
square
#96287D #967828 #289641 #284696
split-complementary
#96287D #469628 #289678
monochromatic
#350E2C #661B55 #96287D #C635A5 #D563BB

Accessibility & contrast

On white

7.25
#96287D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #96287D
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96287D#FFFFFF#000000##FFFFFF
##96287D1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4C7F
Deuteranopia (green-blind)
#525D7A
Tritanopia (blue-blind)
#9F2D4F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #96287d;
/* rgb */ color: rgb(150, 40, 125);
/* oklch */ color: oklch(47.9% 0.172 338.6);
Tailwind
colors: {
  custom: {
    50: '#b86da3',
    500: '#96287d',
    950: '#000000',
  },
}
SCSS
$custom: #96287d;
$custom-light: #b86da3;
$custom-dark: #000000;
JSON
{
  "hex": "#96287d",
  "rgb": {
    "r": 150,
    "g": 40,
    "b": 125
  },
  "hsl": {
    "h": 313.636,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47872,
    "c": 0.17161,
    "h": 338.6
  },
  "luminance": 0.09482
}

Semantic roles & 50–950 ramp

primary
#96287D
secondary
#5FBB74
accent
#E16A47
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12080F
muted
#817B7F

Preview Lab

Preview with #96287D

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

Preview Lab → · Contrast checker → · Palette generator →

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