#96227E#96227E
#96227E is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.4% C 0.179 H 337.9°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).
Color values
| HEX | #96227E |
|---|---|
| RGB | rgb(150, 34, 126) |
| HSL | hsl(312, 63%, 36%) |
| HSV | hsv(312, 77%, 59%) |
| CMYK | cmyk(0%, 77.3%, 16%, 41.2%) |
| CIE-LAB | lab(36.24, 56.05, -24.75) |
| CIE-LCH | lch(36.24, 61.28, 336.18°) |
| OKLab | oklab(47.42% 0.1659 -0.0672) |
| OKLCH | oklch(47.42% 0.179 337.9) |
| XYZ | xyz(16.9160, 9.1361, 20.6072) |
| Luminance | 0.0913 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.70
Barney Purple
#A00498
ΔE00 5.13
Red Violet
#9E0168
ΔE00 5.57
Darkmagenta
#8B008B
ΔE00 5.85
Light Eggplant
#894585
ΔE00 6.68
Purple
#800080
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#96227E #22963A
analogous
#742296 #96227E #962244
triadic
#96227E #7E9622 #227E96
tetradic
#96227E #967422 #22963A #224496
square
#96227E #967422 #22963A #224496
split-complementary
#96227E #449622 #229674
monochromatic
#320B2A #641754 #96227E #C82DA8 #D959BF
Accessibility & contrast
On white
7.43
#96227E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#96227E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #96227E
7.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##96227E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##96227E | 1.00 | 7.43 | 2.83 | 7.43 |
| #FFFFFF | 7.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#274A80
Deuteranopia (green-blind)
#4F5C7B
Tritanopia (blue-blind)
#9F294E
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #96227e; /* rgb */ color: rgb(150, 34, 126); /* oklch */ color: oklch(47.4% 0.179 337.9);
Tailwind
colors: {
custom: {
50: '#b96aa3',
500: '#96227e',
950: '#000000',
},
}SCSS
$custom: #96227e; $custom-light: #b96aa3; $custom-dark: #000000;
JSON
{
"hex": "#96227e",
"rgb": {
"r": 150,
"g": 34,
"b": 126
},
"hsl": {
"h": 312.414,
"s": 63.043,
"l": 36.078
},
"oklch": {
"l": 0.47415,
"c": 0.17902,
"h": 337.9
},
"luminance": 0.09134
}Semantic roles & 50–950 ramp
primary
#96227E
secondary
#56BE6C
accent
#E66442
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F