#96226C#96226C

#96226C is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.6% C 0.168 H 346.6°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#96226C
RGBrgb(150, 34, 108)
HSLhsl(322, 63%, 36%)
HSVhsv(322, 77%, 59%)
CMYKcmyk(0%, 77.3%, 28%, 41.2%)
CIE-LABlab(35.42, 53.59, -14.70)
CIE-LCHlch(35.42, 55.57, 344.66°)
OKLaboklab(46.55% 0.163 -0.0389)
OKLCHoklch(46.55% 0.168 346.6)
XYZxyz(15.8572, 8.7126, 15.0311)
Luminance0.0871 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96226C #22964C
analogous
#862296 #96226C #962232
triadic
#96226C #6C9622 #226C96
tetradic
#96226C #968622 #22964C #223296
square
#96226C #968622 #22964C #223296
split-complementary
#96226C #329622 #229686
monochromatic
#320B24 #641748 #96226C #C82D90 #D959AB

Accessibility & contrast

On white

7.66
#96226C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#96226C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #96226C
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96226C#FFFFFF#000000##FFFFFF
##96226C1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33476E
Deuteranopia (green-blind)
#555A69
Tritanopia (blue-blind)
#A11E44
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #96226c;
/* rgb */ color: rgb(150, 34, 108);
/* oklch */ color: oklch(46.6% 0.168 346.6);
Tailwind
colors: {
  custom: {
    50: '#b96a96',
    500: '#96226c',
    950: '#000000',
  },
}
SCSS
$custom: #96226c;
$custom-light: #b96a96;
$custom-dark: #000000;
JSON
{
  "hex": "#96226c",
  "rgb": {
    "r": 150,
    "g": 34,
    "b": 108
  },
  "hsl": {
    "h": 321.724,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46554,
    "c": 0.16756,
    "h": 346.6
  },
  "luminance": 0.08711
}

Semantic roles & 50–950 ramp

primary
#96226C
secondary
#56BE7C
accent
#E67D42
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070D
muted
#817A7E

Preview Lab

Preview with #96226C

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

Preview Lab → · Contrast checker → · Palette generator →

#96226C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva