#291021
a deep, soft magenta / pink · warm · closest name: black
RGB
41, 16, 33
HSL
319°, 44%, 11%
CMYK
0, 61, 20, 84
Luminance
0.0095
Every format
| HEX | #291021 |
| RGB | rgb(41, 16, 33) |
| HSL | hsl(319, 44%, 11%) |
| CMYK | cmyk(0%, 61%, 20%, 84%) |
| LAB | lab(8.6 15.8 -6.1) |
| LCH | lch(8.6 17.0 339.0) |
| OKLCH | oklch(0.218 0.049 340.8) |
Copy-ready code
/* CSS */
color: #291021;
background-color: #291021;
/* Tailwind (arbitrary) */
class="text-[#291021] bg-[#291021]"
/* SCSS */
$brand: #291021;
/* SwiftUI */
Color(red: 0.161, green: 0.063, blue: 0.129)
/* Android */
Color.parseColor("#291021")Accessibility — WCAG contrast
Aa
#291021 on white: 17.64:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#291021 on black: 1.19:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red16.1%
Green6.3%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta61.0%
Yellow19.5%
Key (black)83.9%
Color previews
#291021 text on a black background
contrast 1.19:1
Card sample
#291021 text on a white background
contrast 17.64:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #291021;
Background color
Panel with #291021 background
background-color: #291021;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #291021;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(41, 16, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(41, 16, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #291021; background: linear-gradient(135deg, #291021, #291010);