#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 |
|---|---|
| RGB | rgb(150, 34, 122) |
| HSL | hsl(314, 63%, 36%) |
| HSV | hsv(314, 77%, 59%) |
| CMYK | cmyk(0%, 77.3%, 18.7%, 41.2%) |
| CIE-LAB | lab(36.05, 55.48, -22.55) |
| CIE-LCH | lch(36.05, 59.89, 337.88°) |
| OKLab | oklab(47.21% 0.1654 -0.061) |
| OKLCH | oklch(47.21% 0.176 339.8) |
| XYZ | xyz(16.6630, 9.0349, 19.2749) |
| Luminance | 0.0903 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.51
Red Violet
#9E0168
ΔE00 4.79
Barney Purple
#A00498
ΔE00 5.94
Darkmagenta
#8B008B
ΔE00 6.53
Light Eggplant
#894585
ΔE00 6.90
Bruise
#7E4071
ΔE00 7.15
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 |
|---|---|---|---|---|
| ##96227A | 1.00 | 7.48 | 2.81 | 7.48 |
| #FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.48 | 1.00 | 21.00 | 1.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