#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 |
|---|---|
| RGB | rgb(150, 34, 127) |
| HSL | hsl(312, 63%, 36%) |
| HSV | hsv(312, 77%, 59%) |
| CMYK | cmyk(0%, 77.3%, 15.3%, 41.2%) |
| CIE-LAB | lab(36.29, 56.20, -25.30) |
| CIE-LCH | lch(36.29, 61.63, 335.77°) |
| OKLab | oklab(47.47% 0.166 -0.0688) |
| OKLCH | oklch(47.47% 0.18 337.5) |
| XYZ | xyz(16.9808, 9.1620, 20.9487) |
| Luminance | 0.0916 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.51
Barney Purple
#A00498
ΔE00 4.93
Darkmagenta
#8B008B
ΔE00 5.69
Red Violet
#9E0168
ΔE00 5.77
Light Eggplant
#894585
ΔE00 6.65
Purple
#800080
ΔE00 6.73
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 |
|---|---|---|---|---|
| ##96227F | 1.00 | 7.42 | 2.83 | 7.42 |
| #FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.42 | 1.00 | 21.00 | 1.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