#96226F#96226F

#96226F is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.7% C 0.169 H 345.1°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#96226F
RGBrgb(150, 34, 111)
HSLhsl(320, 63%, 36%)
HSVhsv(320, 77%, 59%)
CMYKcmyk(0%, 77.3%, 26%, 41.2%)
CIE-LABlab(35.55, 53.98, -16.41)
CIE-LCHlch(35.55, 56.42, 343.09°)
OKLaboklab(46.69% 0.1636 -0.0437)
OKLCHoklch(46.69% 0.169 345.1)
XYZxyz(16.0196, 8.7775, 15.8864)
Luminance0.0878 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96226F #229649
analogous
#832296 #96226F #962235
triadic
#96226F #6F9622 #226F96
tetradic
#96226F #968322 #229649 #223596
square
#96226F #968322 #229649 #223596
split-complementary
#96226F #359622 #229683
monochromatic
#320B25 #64174A #96226F #C82D94 #D959AE

Accessibility & contrast

On white

7.62
#96226F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#96226F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #96226F
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96226F#FFFFFF#000000##FFFFFF
##96226F1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314771
Deuteranopia (green-blind)
#545B6C
Tritanopia (blue-blind)
#A02046
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #96226f;
/* rgb */ color: rgb(150, 34, 111);
/* oklch */ color: oklch(46.7% 0.169 345.1);
Tailwind
colors: {
  custom: {
    50: '#b96a98',
    500: '#96226f',
    950: '#000000',
  },
}
SCSS
$custom: #96226f;
$custom-light: #b96a98;
$custom-dark: #000000;
JSON
{
  "hex": "#96226f",
  "rgb": {
    "r": 150,
    "g": 34,
    "b": 111
  },
  "hsl": {
    "h": 320.172,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46688,
    "c": 0.16933,
    "h": 345.1
  },
  "luminance": 0.08776
}

Semantic roles & 50–950 ramp

primary
#96226F
secondary
#56BE79
accent
#E67942
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070D
muted
#817A7E

Preview Lab

Preview with #96226F

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

Preview Lab → · Contrast checker → · Palette generator →

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