#96286F#96286F

#96286F is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.2% C 0.162 H 345.5°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#96286F
RGBrgb(150, 40, 111)
HSLhsl(321, 58%, 37%)
HSVhsv(321, 73%, 59%)
CMYKcmyk(0%, 73.3%, 26%, 41.2%)
CIE-LABlab(36.27, 51.94, -15.30)
CIE-LCHlch(36.27, 54.15, 343.59°)
OKLaboklab(47.21% 0.1573 -0.0406)
OKLCHoklch(47.21% 0.162 345.5)
XYZxyz(16.2064, 9.1510, 15.9487)
Luminance0.0915 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96286F #28964F
analogous
#862896 #96286F #962838
triadic
#96286F #6F9628 #286F96
tetradic
#96286F #968628 #28964F #283896
square
#96286F #968628 #28964F #283896
split-complementary
#96286F #389628 #289686
monochromatic
#350E27 #661B4B #96286F #C63593 #D563AD

Accessibility & contrast

On white

7.42
#96286F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#96286F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #96286F
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96286F#FFFFFF#000000##FFFFFF
##96286F1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354971
Deuteranopia (green-blind)
#565C6C
Tritanopia (blue-blind)
#A02648
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #96286f;
/* rgb */ color: rgb(150, 40, 111);
/* oklch */ color: oklch(47.2% 0.162 345.5);
Tailwind
colors: {
  custom: {
    50: '#b96c98',
    500: '#96286f',
    950: '#000000',
  },
}
SCSS
$custom: #96286f;
$custom-light: #b96c98;
$custom-dark: #000000;
JSON
{
  "hex": "#96286f",
  "rgb": {
    "r": 150,
    "g": 40,
    "b": 111
  },
  "hsl": {
    "h": 321.273,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47212,
    "c": 0.16245,
    "h": 345.5
  },
  "luminance": 0.09149
}

Semantic roles & 50–950 ramp

primary
#96286F
secondary
#5FBB7F
accent
#E17D47
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070D
muted
#817A7E

Preview Lab

Preview with #96286F

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

Preview Lab → · Contrast checker → · Palette generator →

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