#962278#962278
#962278 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.1% C 0.175 H 340.7°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).
Color values
| HEX | #962278 |
|---|---|
| RGB | rgb(150, 34, 120) |
| HSL | hsl(316, 63%, 36%) |
| HSV | hsv(316, 77%, 59%) |
| CMYK | cmyk(0%, 77.3%, 20%, 41.2%) |
| CIE-LAB | lab(35.96, 55.20, -21.45) |
| CIE-LCH | lch(35.96, 59.22, 338.77°) |
| OKLab | oklab(47.11% 0.1652 -0.0578) |
| OKLCH | oklch(47.11% 0.175 340.7) |
| XYZ | xyz(16.5404, 8.9858, 18.6290) |
| Luminance | 0.0898 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.41
Warm Purple
#952E8F
ΔE00 4.93
Barney Purple
#A00498
ΔE00 6.36
Darkmagenta
#8B008B
ΔE00 6.90
Light Eggplant
#894585
ΔE00 7.05
Bruise
#7E4071
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#962278 #229640
analogous
#7A2296 #962278 #96223E
triadic
#962278 #789622 #227896
tetradic
#962278 #967A22 #229640 #223E96
square
#962278 #967A22 #229640 #223E96
split-complementary
#962278 #3E9622 #22967A
monochromatic
#320B28 #641750 #962278 #C82DA0 #D959B8
Accessibility & contrast
On white
7.51
#962278 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#962278 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #962278
7.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##962278 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##962278 | 1.00 | 7.51 | 2.80 | 7.51 |
| #FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C497A
Deuteranopia (green-blind)
#515B75
Tritanopia (blue-blind)
#9F254B
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #962278; /* rgb */ color: rgb(150, 34, 120); /* oklch */ color: oklch(47.1% 0.175 340.7);
Tailwind
colors: {
custom: {
50: '#b96a9f',
500: '#962278',
950: '#000000',
},
}SCSS
$custom: #962278; $custom-light: #b96a9f; $custom-dark: #000000;
JSON
{
"hex": "#962278",
"rgb": {
"r": 150,
"g": 34,
"b": 120
},
"hsl": {
"h": 315.517,
"s": 63.043,
"l": 36.078
},
"oklch": {
"l": 0.47113,
"c": 0.17499,
"h": 340.7
},
"luminance": 0.08984
}Semantic roles & 50–950 ramp
primary
#962278
secondary
#56BE71
accent
#E66C42
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E