#96227D#96227D

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

Color values

HEX#96227D
RGBrgb(150, 34, 125)
HSLhsl(313, 63%, 36%)
HSVhsv(313, 77%, 59%)
CMYKcmyk(0%, 77.3%, 16.7%, 41.2%)
CIE-LABlab(36.20, 55.91, -24.20)
CIE-LCHlch(36.20, 60.92, 336.59°)
OKLaboklab(47.36% 0.1658 -0.0657)
OKLCHoklch(47.36% 0.178 338.4)
XYZxyz(16.8518, 9.1104, 20.2690)
Luminance0.0911 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96227D #22963B
analogous
#752296 #96227D #962243
triadic
#96227D #7D9622 #227D96
tetradic
#96227D #967522 #22963B #224396
square
#96227D #967522 #22963B #224396
split-complementary
#96227D #439622 #229675
monochromatic
#320B2A #641753 #96227D #C82DA7 #D959BE

Accessibility & contrast

On white

7.44
#96227D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #96227D
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96227D#FFFFFF#000000##FFFFFF
##96227D1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284A7F
Deuteranopia (green-blind)
#4F5C7A
Tritanopia (blue-blind)
#9F284D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #96227d;
/* rgb */ color: rgb(150, 34, 125);
/* oklch */ color: oklch(47.4% 0.178 338.4);
Tailwind
colors: {
  custom: {
    50: '#b96aa3',
    500: '#96227d',
    950: '#000000',
  },
}
SCSS
$custom: #96227d;
$custom-light: #b96aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#96227d",
  "rgb": {
    "r": 150,
    "g": 34,
    "b": 125
  },
  "hsl": {
    "h": 312.931,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47363,
    "c": 0.17834,
    "h": 338.4
  },
  "luminance": 0.09109
}

Semantic roles & 50–950 ramp

primary
#96227D
secondary
#56BE6C
accent
#E66542
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #96227D

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

Preview Lab → · Contrast checker → · Palette generator →

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