#96227B#96227B

#96227B is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.3% C 0.177 H 339.3°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#96227B
RGBrgb(150, 34, 123)
HSLhsl(314, 63%, 36%)
HSVhsv(314, 77%, 59%)
CMYKcmyk(0%, 77.3%, 18%, 41.2%)
CIE-LABlab(36.10, 55.62, -23.11)
CIE-LCHlch(36.10, 60.23, 337.44°)
OKLaboklab(47.26% 0.1656 -0.0625)
OKLCHoklch(47.26% 0.177 339.3)
XYZxyz(16.7253, 9.0598, 19.6029)
Luminance0.0906 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96227B #22963D
analogous
#772296 #96227B #962241
triadic
#96227B #7B9622 #227B96
tetradic
#96227B #967722 #22963D #224196
square
#96227B #967722 #22963D #224196
split-complementary
#96227B #419622 #229677
monochromatic
#320B29 #641752 #96227B #C82DA4 #D959BC

Accessibility & contrast

On white

7.47
#96227B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#96227B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #96227B
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96227B#FFFFFF#000000##FFFFFF
##96227B1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A497D
Deuteranopia (green-blind)
#505B78
Tritanopia (blue-blind)
#9F274C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #96227b;
/* rgb */ color: rgb(150, 34, 123);
/* oklch */ color: oklch(47.3% 0.177 339.3);
Tailwind
colors: {
  custom: {
    50: '#b96aa1',
    500: '#96227b',
    950: '#000000',
  },
}
SCSS
$custom: #96227b;
$custom-light: #b96aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#96227b",
  "rgb": {
    "r": 150,
    "g": 34,
    "b": 123
  },
  "hsl": {
    "h": 313.966,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47262,
    "c": 0.17699,
    "h": 339.3
  },
  "luminance": 0.09058
}

Semantic roles & 50–950 ramp

primary
#96227B
secondary
#56BE6E
accent
#E66842
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #96227B

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

Preview Lab → · Contrast checker → · Palette generator →

#96227B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva