#96237F#96237F

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

Color values

HEX#96237F
RGBrgb(150, 35, 127)
HSLhsl(312, 62%, 36%)
HSVhsv(312, 77%, 59%)
CMYKcmyk(0%, 76.7%, 15.3%, 41.2%)
CIE-LABlab(36.40, 55.89, -25.12)
CIE-LCHlch(36.40, 61.27, 335.79°)
OKLaboklab(47.55% 0.1651 -0.0683)
OKLCHoklch(47.55% 0.179 337.5)
XYZxyz(17.0098, 9.2200, 20.9584)
Luminance0.0922 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96237F #23963A
analogous
#742396 #96237F #962346
triadic
#96237F #7F9623 #237F96
tetradic
#96237F #967423 #23963A #234696
square
#96237F #967423 #23963A #234696
split-complementary
#96237F #469623 #239674
monochromatic
#330C2B #641755 #96237F #C82FA9 #D95BBF

Accessibility & contrast

On white

7.39
#96237F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #96237F
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96237F#FFFFFF#000000##FFFFFF
##96237F1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274A81
Deuteranopia (green-blind)
#4F5C7C
Tritanopia (blue-blind)
#9E2A4F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #96237f;
/* rgb */ color: rgb(150, 35, 127);
/* oklch */ color: oklch(47.5% 0.179 337.5);
Tailwind
colors: {
  custom: {
    50: '#b96ba4',
    500: '#96237f',
    950: '#000000',
  },
}
SCSS
$custom: #96237f;
$custom-light: #b96ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#96237f",
  "rgb": {
    "r": 150,
    "g": 35,
    "b": 127
  },
  "hsl": {
    "h": 312,
    "s": 62.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47546,
    "c": 0.17866,
    "h": 337.5
  },
  "luminance": 0.09218
}

Semantic roles & 50–950 ramp

primary
#96237F
secondary
#58BD6C
accent
#E56343
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #96237F

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

Preview Lab → · Contrast checker → · Palette generator →

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