#96227F#96227F

#96227F is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.5% C 0.180 H 337.5°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#96227F
RGBrgb(150, 34, 127)
HSLhsl(312, 63%, 36%)
HSVhsv(312, 77%, 59%)
CMYKcmyk(0%, 77.3%, 15.3%, 41.2%)
CIE-LABlab(36.29, 56.20, -25.30)
CIE-LCHlch(36.29, 61.63, 335.77°)
OKLaboklab(47.47% 0.166 -0.0688)
OKLCHoklch(47.47% 0.18 337.5)
XYZxyz(16.9808, 9.1620, 20.9487)
Luminance0.0916 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96227F #229639
analogous
#732296 #96227F #962245
triadic
#96227F #7F9622 #227F96
tetradic
#96227F #967322 #229639 #224596
square
#96227F #967322 #229639 #224596
split-complementary
#96227F #459622 #229673
monochromatic
#320B2B #641755 #96227F #C82DA9 #D959C0

Accessibility & contrast

On white

7.42
#96227F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#96227F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #96227F
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96227F#FFFFFF#000000##FFFFFF
##96227F1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264A81
Deuteranopia (green-blind)
#4F5C7C
Tritanopia (blue-blind)
#9E294E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #96227f;
/* rgb */ color: rgb(150, 34, 127);
/* oklch */ color: oklch(47.5% 0.180 337.5);
Tailwind
colors: {
  custom: {
    50: '#b96aa4',
    500: '#96227f',
    950: '#000000',
  },
}
SCSS
$custom: #96227f;
$custom-light: #b96aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#96227f",
  "rgb": {
    "r": 150,
    "g": 34,
    "b": 127
  },
  "hsl": {
    "h": 311.897,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47466,
    "c": 0.17971,
    "h": 337.5
  },
  "luminance": 0.0916
}

Semantic roles & 50–950 ramp

primary
#96227F
secondary
#56BE6B
accent
#E66242
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #96227F

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

Preview Lab → · Contrast checker → · Palette generator →

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