#96227C#96227C
#96227C is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.3% C 0.178 H 338.9°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).
Color values
| HEX | #96227C |
|---|---|
| RGB | rgb(150, 34, 124) |
| HSL | hsl(313, 63%, 36%) |
| HSV | hsv(313, 77%, 59%) |
| CMYK | cmyk(0%, 77.3%, 17.3%, 41.2%) |
| CIE-LAB | lab(36.15, 55.76, -23.66) |
| CIE-LCH | lch(36.15, 60.57, 337.01°) |
| OKLab | oklab(47.31% 0.1657 -0.0641) |
| OKLCH | oklch(47.31% 0.178 338.9) |
| XYZ | xyz(16.7882, 9.0850, 19.9343) |
| Luminance | 0.0908 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.10
Red Violet
#9E0168
ΔE00 5.18
Barney Purple
#A00498
ΔE00 5.53
Darkmagenta
#8B008B
ΔE00 6.18
Light Eggplant
#894585
ΔE00 6.78
Purple
#800080
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#96227C #22963C
analogous
#762296 #96227C #962242
triadic
#96227C #7C9622 #227C96
tetradic
#96227C #967622 #22963C #224296
square
#96227C #967622 #22963C #224296
split-complementary
#96227C #429622 #229676
monochromatic
#320B2A #641753 #96227C #C82DA5 #D959BD
Accessibility & contrast
On white
7.46
#96227C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#96227C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #96227C
7.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##96227C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##96227C | 1.00 | 7.46 | 2.82 | 7.46 |
| #FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#29497E
Deuteranopia (green-blind)
#505B79
Tritanopia (blue-blind)
#9F274D
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #96227c; /* rgb */ color: rgb(150, 34, 124); /* oklch */ color: oklch(47.3% 0.178 338.9);
Tailwind
colors: {
custom: {
50: '#b96aa2',
500: '#96227c',
950: '#000000',
},
}SCSS
$custom: #96227c; $custom-light: #b96aa2; $custom-dark: #000000;
JSON
{
"hex": "#96227c",
"rgb": {
"r": 150,
"g": 34,
"b": 124
},
"hsl": {
"h": 313.448,
"s": 63.043,
"l": 36.078
},
"oklch": {
"l": 0.47312,
"c": 0.17766,
"h": 338.9
},
"luminance": 0.09083
}Semantic roles & 50–950 ramp
primary
#96227C
secondary
#56BE6D
accent
#E66742
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12070F
muted
#817A7F