#962271#962271
#962271 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.8% C 0.171 H 344.1°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).
Color values
| HEX | #962271 |
|---|---|
| RGB | rgb(150, 34, 113) |
| HSL | hsl(319, 63%, 36%) |
| HSV | hsv(319, 77%, 59%) |
| CMYK | cmyk(0%, 77.3%, 24.7%, 41.2%) |
| CIE-LAB | lab(35.64, 54.24, -17.54) |
| CIE-LCH | lch(35.64, 57.01, 342.09°) |
| OKLab | oklab(46.78% 0.164 -0.0468) |
| OKLCH | oklch(46.78% 0.171 344.1) |
| XYZ | xyz(16.1310, 8.8221, 16.4729) |
| Luminance | 0.0882 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.17
Deep Magenta
#A0025C
ΔE00 5.89
Dark Fuchsia
#9D0759
ΔE00 6.28
Dark Magenta
#960056
ΔE00 6.29
Warm Purple
#952E8F
ΔE00 6.48
Bruise
#7E4071
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#962271 #229647
analogous
#812296 #962271 #962237
triadic
#962271 #719622 #227196
tetradic
#962271 #968122 #229647 #223796
square
#962271 #968122 #229647 #223796
split-complementary
#962271 #379622 #229681
monochromatic
#320B26 #64174B #962271 #C82D97 #D959B0
Accessibility & contrast
On white
7.60
#962271 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#962271 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #962271
7.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##962271 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##962271 | 1.00 | 7.60 | 2.76 | 7.60 |
| #FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#304773
Deuteranopia (green-blind)
#545B6E
Tritanopia (blue-blind)
#A02147
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #962271; /* rgb */ color: rgb(150, 34, 113); /* oklch */ color: oklch(46.8% 0.171 344.1);
Tailwind
colors: {
custom: {
50: '#b96a9a',
500: '#962271',
950: '#000000',
},
}SCSS
$custom: #962271; $custom-light: #b96a9a; $custom-dark: #000000;
JSON
{
"hex": "#962271",
"rgb": {
"r": 150,
"g": 34,
"b": 113
},
"hsl": {
"h": 319.138,
"s": 63.043,
"l": 36.078
},
"oklch": {
"l": 0.46779,
"c": 0.17054,
"h": 344.1
},
"luminance": 0.0882
}Semantic roles & 50–950 ramp
primary
#962271
secondary
#56BE77
accent
#E67642
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E