#96227C#96227C

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

Color values

HEX#96227C
RGBrgb(150, 34, 124)
HSLhsl(313, 63%, 36%)
HSVhsv(313, 77%, 59%)
CMYKcmyk(0%, 77.3%, 17.3%, 41.2%)
CIE-LABlab(36.15, 55.76, -23.66)
CIE-LCHlch(36.15, 60.57, 337.01°)
OKLaboklab(47.31% 0.1657 -0.0641)
OKLCHoklch(47.31% 0.178 338.9)
XYZxyz(16.7882, 9.0850, 19.9343)
Luminance0.0908 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96227C #22963C
analogous
#762296 #96227C #962242
triadic
#96227C #7C9622 #227C96
tetradic
#96227C #967622 #22963C #224296
square
#96227C #967622 #22963C #224296
split-complementary
#96227C #429622 #229676
monochromatic
#320B2A #641753 #96227C #C82DA5 #D959BD

Accessibility & contrast

On white

7.46
#96227C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#96227C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #96227C
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96227C#FFFFFF#000000##FFFFFF
##96227C1.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29497E
Deuteranopia (green-blind)
#505B79
Tritanopia (blue-blind)
#9F274D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #96227c;
/* rgb */ color: rgb(150, 34, 124);
/* oklch */ color: oklch(47.3% 0.178 338.9);
Tailwind
colors: {
  custom: {
    50: '#b96aa2',
    500: '#96227c',
    950: '#000000',
  },
}
SCSS
$custom: #96227c;
$custom-light: #b96aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#96227c",
  "rgb": {
    "r": 150,
    "g": 34,
    "b": 124
  },
  "hsl": {
    "h": 313.448,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47312,
    "c": 0.17766,
    "h": 338.9
  },
  "luminance": 0.09083
}

Semantic roles & 50–950 ramp

primary
#96227C
secondary
#56BE6D
accent
#E66742
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #96227C

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

Preview Lab → · Contrast checker → · Palette generator →

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