#962878#962878
#962878 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.6% C 0.168 H 341.0°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #962878 |
|---|---|
| RGB | rgb(150, 40, 120) |
| HSL | hsl(316, 58%, 37%) |
| HSV | hsv(316, 73%, 59%) |
| CMYK | cmyk(0%, 73.3%, 20%, 41.2%) |
| CIE-LAB | lab(36.67, 53.18, -20.35) |
| CIE-LCH | lch(36.67, 56.94, 339.06°) |
| OKLab | oklab(47.63% 0.159 -0.0548) |
| OKLCH | oklch(47.63% 0.168 341) |
| XYZ | xyz(16.7271, 9.3593, 18.6913) |
| Luminance | 0.0936 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.62
Warm Purple
#952E8F
ΔE00 4.97
Light Eggplant
#894585
ΔE00 6.46
Bruise
#7E4071
ΔE00 6.50
Barney Purple
#A00498
ΔE00 6.79
Deep Magenta
#A0025C
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#962878 #289646
analogous
#7D2896 #962878 #962841
triadic
#962878 #789628 #287896
tetradic
#962878 #967D28 #289646 #284196
square
#962878 #967D28 #289646 #284196
split-complementary
#962878 #419628 #28967D
monochromatic
#350E2B #661B51 #962878 #C6359F #D563B6
Accessibility & contrast
On white
7.31
#962878 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#962878 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #962878
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##962878 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##962878 | 1.00 | 7.31 | 2.87 | 7.31 |
| #FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#314B7A
Deuteranopia (green-blind)
#535D75
Tritanopia (blue-blind)
#9F2A4C
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #962878; /* rgb */ color: rgb(150, 40, 120); /* oklch */ color: oklch(47.6% 0.168 341.0);
Tailwind
colors: {
custom: {
50: '#b86d9f',
500: '#962878',
950: '#000000',
},
}SCSS
$custom: #962878; $custom-light: #b86d9f; $custom-dark: #000000;
JSON
{
"hex": "#962878",
"rgb": {
"r": 150,
"g": 40,
"b": 120
},
"hsl": {
"h": 316.364,
"s": 57.895,
"l": 37.255
},
"oklch": {
"l": 0.47627,
"c": 0.1682,
"h": 341
},
"luminance": 0.09358
}Semantic roles & 50–950 ramp
primary
#962878
secondary
#5FBB78
accent
#E17147
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12080E
muted
#817B7E