#96226C#96226C
#96226C is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.6% C 0.168 H 346.6°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #96226C |
|---|---|
| RGB | rgb(150, 34, 108) |
| HSL | hsl(322, 63%, 36%) |
| HSV | hsv(322, 77%, 59%) |
| CMYK | cmyk(0%, 77.3%, 28%, 41.2%) |
| CIE-LAB | lab(35.42, 53.59, -14.70) |
| CIE-LCH | lch(35.42, 55.57, 344.66°) |
| OKLab | oklab(46.55% 0.163 -0.0389) |
| OKLCH | oklch(46.55% 0.168 346.6) |
| XYZ | xyz(15.8572, 8.7126, 15.0311) |
| Luminance | 0.0871 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 2.55
Deep Magenta
#A0025C
ΔE00 4.84
Dark Fuchsia
#9D0759
ΔE00 5.17
Dark Magenta
#960056
ΔE00 5.23
Reddish Purple
#910951
ΔE00 6.13
Mulberry
#920A4E
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#96226C #22964C
analogous
#862296 #96226C #962232
triadic
#96226C #6C9622 #226C96
tetradic
#96226C #968622 #22964C #223296
square
#96226C #968622 #22964C #223296
split-complementary
#96226C #329622 #229686
monochromatic
#320B24 #641748 #96226C #C82D90 #D959AB
Accessibility & contrast
On white
7.66
#96226C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#96226C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #96226C
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##96226C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##96226C | 1.00 | 7.66 | 2.74 | 7.66 |
| #FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#33476E
Deuteranopia (green-blind)
#555A69
Tritanopia (blue-blind)
#A11E44
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #96226c; /* rgb */ color: rgb(150, 34, 108); /* oklch */ color: oklch(46.6% 0.168 346.6);
Tailwind
colors: {
custom: {
50: '#b96a96',
500: '#96226c',
950: '#000000',
},
}SCSS
$custom: #96226c; $custom-light: #b96a96; $custom-dark: #000000;
JSON
{
"hex": "#96226c",
"rgb": {
"r": 150,
"g": 34,
"b": 108
},
"hsl": {
"h": 321.724,
"s": 63.043,
"l": 36.078
},
"oklch": {
"l": 0.46554,
"c": 0.16756,
"h": 346.6
},
"luminance": 0.08711
}Semantic roles & 50–950 ramp
primary
#96226C
secondary
#56BE7C
accent
#E67D42
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070D
muted
#817A7E