#841871#841871
#841871 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 43.0% C 0.170 H 336.7°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).
Color values
| HEX | #841871 |
|---|---|
| RGB | rgb(132, 24, 113) |
| HSL | hsl(311, 69%, 31%) |
| HSV | hsv(311, 82%, 52%) |
| CMYK | cmyk(0%, 81.8%, 14.4%, 48.2%) |
| CIE-LAB | lab(31.24, 52.84, -24.64) |
| CIE-LCH | lch(31.24, 58.30, 335.00°) |
| OKLab | oklab(42.98% 0.1556 -0.0672) |
| OKLCH | oklch(42.98% 0.17 336.7) |
| XYZ | xyz(12.8232, 6.7523, 16.2476) |
| Luminance | 0.0675 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 3.61
Purple
#800080
ΔE00 4.54
Darkmagenta
#8B008B
ΔE00 5.25
Rich Purple
#720058
ΔE00 5.53
Warm Purple
#952E8F
ΔE00 6.57
Red Violet
#9E0168
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#841871 #18842B
analogous
#611884 #841871 #84183B
triadic
#841871 #718418 #187184
tetradic
#841871 #846118 #18842B #183B84
square
#841871 #846118 #18842B #183B84
split-complementary
#841871 #3B8418 #188461
monochromatic
#1C0518 #500F45 #841871 #B8219D #DB3BBF
Accessibility & contrast
On white
8.94
#841871 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#841871 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #841871
8.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##841871 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##841871 | 1.00 | 8.94 | 2.35 | 8.94 |
| #FFFFFF | 8.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B3F73
Deuteranopia (green-blind)
#424F6F
Tritanopia (blue-blind)
#8B2044
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #841871; /* rgb */ color: rgb(132, 24, 113); /* oklch */ color: oklch(43.0% 0.170 336.7);
Tailwind
colors: {
custom: {
50: '#ab639a',
500: '#841871',
950: '#000000',
},
}SCSS
$custom: #841871; $custom-light: #ab639a; $custom-dark: #000000;
JSON
{
"hex": "#841871",
"rgb": {
"r": 132,
"g": 24,
"b": 113
},
"hsl": {
"h": 310.556,
"s": 69.231,
"l": 30.588
},
"oklch": {
"l": 0.42978,
"c": 0.16952,
"h": 336.7
},
"luminance": 0.06751
}Semantic roles & 50–950 ramp
primary
#841871
secondary
#40B855
accent
#EC5B3C
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11060E
muted
#807A7E