#96227A#96227A

#96227A is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.2% C 0.176 H 339.8°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#96227A
RGBrgb(150, 34, 122)
HSLhsl(314, 63%, 36%)
HSVhsv(314, 77%, 59%)
CMYKcmyk(0%, 77.3%, 18.7%, 41.2%)
CIE-LABlab(36.05, 55.48, -22.55)
CIE-LCHlch(36.05, 59.89, 337.88°)
OKLaboklab(47.21% 0.1654 -0.061)
OKLCHoklch(47.21% 0.176 339.8)
XYZxyz(16.6630, 9.0349, 19.2749)
Luminance0.0903 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96227A #22963E
analogous
#782296 #96227A #962240
triadic
#96227A #7A9622 #227A96
tetradic
#96227A #967822 #22963E #224096
square
#96227A #967822 #22963E #224096
split-complementary
#96227A #409622 #229678
monochromatic
#320B29 #641751 #96227A #C82DA3 #D959BA

Accessibility & contrast

On white

7.48
#96227A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#96227A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #96227A
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96227A#FFFFFF#000000##FFFFFF
##96227A1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A497C
Deuteranopia (green-blind)
#515B77
Tritanopia (blue-blind)
#9F264C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #96227a;
/* rgb */ color: rgb(150, 34, 122);
/* oklch */ color: oklch(47.2% 0.176 339.8);
Tailwind
colors: {
  custom: {
    50: '#b96aa0',
    500: '#96227a',
    950: '#000000',
  },
}
SCSS
$custom: #96227a;
$custom-light: #b96aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#96227a",
  "rgb": {
    "r": 150,
    "g": 34,
    "b": 122
  },
  "hsl": {
    "h": 314.483,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47212,
    "c": 0.17631,
    "h": 339.8
  },
  "luminance": 0.09033
}

Semantic roles & 50–950 ramp

primary
#96227A
secondary
#56BE6F
accent
#E66942
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #96227A

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

Preview Lab → · Contrast checker → · Palette generator →

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