#96237E#96237E

#96237E is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.5% C 0.178 H 338.0°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#96237E
RGBrgb(150, 35, 126)
HSLhsl(313, 62%, 36%)
HSVhsv(313, 77%, 59%)
CMYKcmyk(0%, 76.7%, 16%, 41.2%)
CIE-LABlab(36.36, 55.74, -24.58)
CIE-LCHlch(36.36, 60.92, 336.20°)
OKLaboklab(47.49% 0.165 -0.0667)
OKLCHoklch(47.49% 0.178 338)
XYZxyz(16.9450, 9.1941, 20.6168)
Luminance0.0919 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96237E #23963B
analogous
#752396 #96237E #962345
triadic
#96237E #7E9623 #237E96
tetradic
#96237E #967523 #23963B #234596
square
#96237E #967523 #23963B #234596
split-complementary
#96237E #459623 #239675
monochromatic
#330C2B #641754 #96237E #C82FA8 #D95BBE

Accessibility & contrast

On white

7.40
#96237E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#96237E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #96237E
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96237E#FFFFFF#000000##FFFFFF
##96237E1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284A80
Deuteranopia (green-blind)
#4F5C7B
Tritanopia (blue-blind)
#9F294E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #96237e;
/* rgb */ color: rgb(150, 35, 126);
/* oklch */ color: oklch(47.5% 0.178 338.0);
Tailwind
colors: {
  custom: {
    50: '#b96ba3',
    500: '#96237e',
    950: '#000000',
  },
}
SCSS
$custom: #96237e;
$custom-light: #b96ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#96237e",
  "rgb": {
    "r": 150,
    "g": 35,
    "b": 126
  },
  "hsl": {
    "h": 312.522,
    "s": 62.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47494,
    "c": 0.17797,
    "h": 338
  },
  "luminance": 0.09192
}

Semantic roles & 50–950 ramp

primary
#96237E
secondary
#58BD6D
accent
#E56543
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #96237E

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

Preview Lab → · Contrast checker → · Palette generator →

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