#962158#962158
#962158 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.7% C 0.159 H 357.2°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #962158 |
|---|---|
| RGB | rgb(150, 33, 88) |
| HSL | hsl(332, 64%, 36%) |
| HSV | hsv(332, 78%, 59%) |
| CMYK | cmyk(0%, 78%, 41.3%, 41.2%) |
| CIE-LAB | lab(34.56, 51.59, -3.20) |
| CIE-LCH | lch(34.56, 51.69, 356.45°) |
| OKLab | oklab(45.67% 0.1586 -0.0078) |
| OKLCH | oklch(45.67% 0.159 357.2) |
| XYZ | xyz(14.8841, 8.2782, 10.0447) |
| Luminance | 0.0828 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Fuchsia
#9D0759
ΔE00 2.20
Deep Magenta
#A0025C
ΔE00 2.71
Reddish Purple
#910951
ΔE00 2.76
Mulberry
#920A4E
ΔE00 2.80
Dark Magenta
#960056
ΔE00 2.83
Violet Red
#A50055
ΔE00 3.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#962158 #21965F
analogous
#962192 #962158 #962521
triadic
#962158 #589621 #215896
tetradic
#962158 #929621 #21965F #252196
square
#962158 #929621 #21965F #252196
split-complementary
#962158 #219625 #219296
monochromatic
#320B1D #64163B #962158 #C82C75 #DA5795
Accessibility & contrast
On white
7.91
#962158 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#962158 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #962158
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##962158 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##962158 | 1.00 | 7.91 | 2.66 | 7.91 |
| #FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A4359
Deuteranopia (green-blind)
#5A5955
Tritanopia (blue-blind)
#A30F3A
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #962158; /* rgb */ color: rgb(150, 33, 88); /* oklch */ color: oklch(45.7% 0.159 357.2);
Tailwind
colors: {
custom: {
50: '#ba6987',
500: '#962158',
950: '#000000',
},
}SCSS
$custom: #962158; $custom-light: #ba6987; $custom-dark: #000000;
JSON
{
"hex": "#962158",
"rgb": {
"r": 150,
"g": 33,
"b": 88
},
"hsl": {
"h": 331.795,
"s": 63.934,
"l": 35.882
},
"oklch": {
"l": 0.45672,
"c": 0.15875,
"h": 357.2
},
"luminance": 0.08276
}Semantic roles & 50–950 ramp
primary
#962158
secondary
#55BE8D
accent
#E79941
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#12070B
muted
#817A7C