#841B71#841B71
#841B71 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.2% C 0.167 H 336.7°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).
Color values
| HEX | #841B71 |
|---|---|
| RGB | rgb(132, 27, 113) |
| HSL | hsl(311, 66%, 31%) |
| HSV | hsv(311, 80%, 52%) |
| CMYK | cmyk(0%, 79.5%, 14.4%, 48.2%) |
| CIE-LAB | lab(31.54, 51.97, -24.17) |
| CIE-LCH | lch(31.54, 57.31, 335.06°) |
| OKLab | oklab(43.2% 0.153 -0.0659) |
| OKLCH | oklch(43.2% 0.167 336.7) |
| XYZ | xyz(12.8885, 6.8829, 16.2693) |
| Luminance | 0.0688 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 3.76
Purple
#800080
ΔE00 4.79
Darkmagenta
#8B008B
ΔE00 5.42
Rich Purple
#720058
ΔE00 5.68
Warm Purple
#952E8F
ΔE00 6.42
Red Violet
#9E0168
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#841B71 #1B842E
analogous
#621B84 #841B71 #841B3C
triadic
#841B71 #71841B #1B7184
tetradic
#841B71 #84621B #1B842E #1B3C84
square
#841B71 #84621B #1B842E #1B3C84
split-complementary
#841B71 #3C841B #1B8462
monochromatic
#1E061A #511146 #841B71 #B7259C #D841BD
Accessibility & contrast
On white
8.84
#841B71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#841B71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #841B71
8.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##841B71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##841B71 | 1.00 | 8.84 | 2.38 | 8.84 |
| #FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E4073
Deuteranopia (green-blind)
#43506F
Tritanopia (blue-blind)
#8B2345
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #841b71; /* rgb */ color: rgb(132, 27, 113); /* oklch */ color: oklch(43.2% 0.167 336.7);
Tailwind
colors: {
custom: {
50: '#ab649a',
500: '#841b71',
950: '#000000',
},
}SCSS
$custom: #841b71; $custom-light: #ab649a; $custom-dark: #000000;
JSON
{
"hex": "#841b71",
"rgb": {
"r": 132,
"g": 27,
"b": 113
},
"hsl": {
"h": 310.857,
"s": 66.038,
"l": 31.176
},
"oklch": {
"l": 0.43195,
"c": 0.16661,
"h": 336.7
},
"luminance": 0.06882
}Semantic roles & 50–950 ramp
primary
#841B71
secondary
#43B758
accent
#E95E3F
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11060E
muted
#807A7E