#841B5F#841B5F
#841B5F is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.3% C 0.155 H 346.2°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).
Color values
| HEX | #841B5F |
|---|---|
| RGB | rgb(132, 27, 95) |
| HSL | hsl(321, 66%, 31%) |
| HSV | hsv(321, 80%, 52%) |
| CMYK | cmyk(0%, 79.5%, 28%, 48.2%) |
| CIE-LAB | lab(30.68, 49.44, -13.92) |
| CIE-LCH | lch(30.68, 51.36, 344.27°) |
| OKLab | oklab(42.3% 0.1503 -0.0369) |
| OKLCH | oklch(42.3% 0.155 346.2) |
| XYZ | xyz(11.9738, 6.5170, 11.4516) |
| Luminance | 0.0652 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 4.01
Red Violet
#9E0168
ΔE00 4.76
Dark Magenta
#960056
ΔE00 5.09
Rich Purple
#720058
ΔE00 5.11
Reddish Purple
#910951
ΔE00 5.40
Red Purple
#820747
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#841B5F #1B8440
analogous
#741B84 #841B5F #841B2A
triadic
#841B5F #5F841B #1B5F84
tetradic
#841B5F #84741B #1B8440 #1B2A84
square
#841B5F #84741B #1B8440 #1B2A84
split-complementary
#841B5F #2A841B #1B8474
monochromatic
#1E0616 #51113A #841B5F #B72584 #D841A3
Accessibility & contrast
On white
9.12
#841B5F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#841B5F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #841B5F
9.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##841B5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##841B5F | 1.00 | 9.12 | 2.30 | 9.12 |
| #FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A3D61
Deuteranopia (green-blind)
#4A4F5D
Tritanopia (blue-blind)
#8D183B
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #841b5f; /* rgb */ color: rgb(132, 27, 95); /* oklch */ color: oklch(42.3% 0.155 346.2);
Tailwind
colors: {
custom: {
50: '#ac648c',
500: '#841b5f',
950: '#000000',
},
}SCSS
$custom: #841b5f; $custom-light: #ac648c; $custom-dark: #000000;
JSON
{
"hex": "#841b5f",
"rgb": {
"r": 132,
"g": 27,
"b": 95
},
"hsl": {
"h": 321.143,
"s": 66.038,
"l": 31.176
},
"oklch": {
"l": 0.42296,
"c": 0.15478,
"h": 346.2
},
"luminance": 0.06516
}Semantic roles & 50–950 ramp
primary
#841B5F
secondary
#43B76C
accent
#E97B3F
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D