#96227E#96227E

#96227E is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.4% C 0.179 H 337.9°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#96227E
RGBrgb(150, 34, 126)
HSLhsl(312, 63%, 36%)
HSVhsv(312, 77%, 59%)
CMYKcmyk(0%, 77.3%, 16%, 41.2%)
CIE-LABlab(36.24, 56.05, -24.75)
CIE-LCHlch(36.24, 61.28, 336.18°)
OKLaboklab(47.42% 0.1659 -0.0672)
OKLCHoklch(47.42% 0.179 337.9)
XYZxyz(16.9160, 9.1361, 20.6072)
Luminance0.0913 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96227E #22963A
analogous
#742296 #96227E #962244
triadic
#96227E #7E9622 #227E96
tetradic
#96227E #967422 #22963A #224496
square
#96227E #967422 #22963A #224496
split-complementary
#96227E #449622 #229674
monochromatic
#320B2A #641754 #96227E #C82DA8 #D959BF

Accessibility & contrast

On white

7.43
#96227E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#96227E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #96227E
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96227E#FFFFFF#000000##FFFFFF
##96227E1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #96227e;
/* rgb */ color: rgb(150, 34, 126);
/* oklch */ color: oklch(47.4% 0.179 337.9);
Tailwind
colors: {
  custom: {
    50: '#b96aa3',
    500: '#96227e',
    950: '#000000',
  },
}
SCSS
$custom: #96227e;
$custom-light: #b96aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#96227e",
  "rgb": {
    "r": 150,
    "g": 34,
    "b": 126
  },
  "hsl": {
    "h": 312.414,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47415,
    "c": 0.17902,
    "h": 337.9
  },
  "luminance": 0.09134
}

Semantic roles & 50–950 ramp

primary
#96227E
secondary
#56BE6C
accent
#E66442
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #96227E

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

Preview Lab → · Contrast checker → · Palette generator →

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