#96237F#96237F
#96237F is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.5% C 0.179 H 337.5°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).
Color values
| HEX | #96237F |
|---|---|
| RGB | rgb(150, 35, 127) |
| HSL | hsl(312, 62%, 36%) |
| HSV | hsv(312, 77%, 59%) |
| CMYK | cmyk(0%, 76.7%, 15.3%, 41.2%) |
| CIE-LAB | lab(36.40, 55.89, -25.12) |
| CIE-LCH | lch(36.40, 61.27, 335.79°) |
| OKLab | oklab(47.55% 0.1651 -0.0683) |
| OKLCH | oklch(47.55% 0.179 337.5) |
| XYZ | xyz(17.0098, 9.2200, 20.9584) |
| Luminance | 0.0922 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.48
Barney Purple
#A00498
ΔE00 4.99
Red Violet
#9E0168
ΔE00 5.78
Darkmagenta
#8B008B
ΔE00 5.79
Light Eggplant
#894585
ΔE00 6.54
Purple
#800080
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#96237F #23963A
analogous
#742396 #96237F #962346
triadic
#96237F #7F9623 #237F96
tetradic
#96237F #967423 #23963A #234696
square
#96237F #967423 #23963A #234696
split-complementary
#96237F #469623 #239674
monochromatic
#330C2B #641755 #96237F #C82FA9 #D95BBF
Accessibility & contrast
On white
7.39
#96237F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#96237F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #96237F
7.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##96237F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##96237F | 1.00 | 7.39 | 2.84 | 7.39 |
| #FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#274A81
Deuteranopia (green-blind)
#4F5C7C
Tritanopia (blue-blind)
#9E2A4F
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #96237f; /* rgb */ color: rgb(150, 35, 127); /* oklch */ color: oklch(47.5% 0.179 337.5);
Tailwind
colors: {
custom: {
50: '#b96ba4',
500: '#96237f',
950: '#000000',
},
}SCSS
$custom: #96237f; $custom-light: #b96ba4; $custom-dark: #000000;
JSON
{
"hex": "#96237f",
"rgb": {
"r": 150,
"g": 35,
"b": 127
},
"hsl": {
"h": 312,
"s": 62.162,
"l": 36.275
},
"oklch": {
"l": 0.47546,
"c": 0.17866,
"h": 337.5
},
"luminance": 0.09218
}Semantic roles & 50–950 ramp
primary
#96237F
secondary
#58BD6C
accent
#E56343
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F