#96237E#96237E
#96237E is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.5% C 0.178 H 338.0°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).
Color values
| HEX | #96237E |
|---|---|
| RGB | rgb(150, 35, 126) |
| HSL | hsl(313, 62%, 36%) |
| HSV | hsv(313, 77%, 59%) |
| CMYK | cmyk(0%, 76.7%, 16%, 41.2%) |
| CIE-LAB | lab(36.36, 55.74, -24.58) |
| CIE-LCH | lch(36.36, 60.92, 336.20°) |
| OKLab | oklab(47.49% 0.165 -0.0667) |
| OKLCH | oklch(47.49% 0.178 338) |
| XYZ | xyz(16.9450, 9.1941, 20.6168) |
| Luminance | 0.0919 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.68
Barney Purple
#A00498
ΔE00 5.19
Red Violet
#9E0168
ΔE00 5.58
Darkmagenta
#8B008B
ΔE00 5.95
Light Eggplant
#894585
ΔE00 6.57
Purple
#800080
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#96237E #23963B
analogous
#752396 #96237E #962345
triadic
#96237E #7E9623 #237E96
tetradic
#96237E #967523 #23963B #234596
square
#96237E #967523 #23963B #234596
split-complementary
#96237E #459623 #239675
monochromatic
#330C2B #641754 #96237E #C82FA8 #D95BBE
Accessibility & contrast
On white
7.40
#96237E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#96237E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #96237E
7.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##96237E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##96237E | 1.00 | 7.40 | 2.84 | 7.40 |
| #FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#284A80
Deuteranopia (green-blind)
#4F5C7B
Tritanopia (blue-blind)
#9F294E
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #96237e; /* rgb */ color: rgb(150, 35, 126); /* oklch */ color: oklch(47.5% 0.178 338.0);
Tailwind
colors: {
custom: {
50: '#b96ba3',
500: '#96237e',
950: '#000000',
},
}SCSS
$custom: #96237e; $custom-light: #b96ba3; $custom-dark: #000000;
JSON
{
"hex": "#96237e",
"rgb": {
"r": 150,
"g": 35,
"b": 126
},
"hsl": {
"h": 312.522,
"s": 62.162,
"l": 36.275
},
"oklch": {
"l": 0.47494,
"c": 0.17797,
"h": 338
},
"luminance": 0.09192
}Semantic roles & 50–950 ramp
primary
#96237E
secondary
#58BD6D
accent
#E56543
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F