#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 |
|---|---|
| RGB | rgb(150, 34, 125) |
| HSL | hsl(313, 63%, 36%) |
| HSV | hsv(313, 77%, 59%) |
| CMYK | cmyk(0%, 77.3%, 16.7%, 41.2%) |
| CIE-LAB | lab(36.20, 55.91, -24.20) |
| CIE-LCH | lch(36.20, 60.92, 336.59°) |
| OKLab | oklab(47.36% 0.1658 -0.0657) |
| OKLCH | oklch(47.36% 0.178 338.4) |
| XYZ | xyz(16.8518, 9.1104, 20.2690) |
| Luminance | 0.0911 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.90
Barney Purple
#A00498
ΔE00 5.33
Red Violet
#9E0168
ΔE00 5.37
Darkmagenta
#8B008B
ΔE00 6.01
Light Eggplant
#894585
ΔE00 6.73
Purple
#800080
ΔE00 6.94
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 |
|---|---|---|---|---|
| ##96227D | 1.00 | 7.44 | 2.82 | 7.44 |
| #FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.44 | 1.00 | 21.00 | 1.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