#3b1f21
a deep, soft red · warm · closest name: black
RGB
59, 31, 33
HSL
356°, 31%, 18%
CMYK
0, 48, 44, 77
Luminance
0.0202
Every format
| HEX | #3b1f21 |
| RGB | rgb(59, 31, 33) |
| HSL | hsl(356, 31%, 18%) |
| CMYK | cmyk(0%, 48%, 44%, 77%) |
| LAB | lab(15.6 13.9 4.5) |
| LCH | lch(15.6 14.6 18.2) |
| OKLCH | oklch(0.278 0.044 15.7) |
Copy-ready code
/* CSS */
color: #3b1f21;
background-color: #3b1f21;
/* Tailwind (arbitrary) */
class="text-[#3b1f21] bg-[#3b1f21]"
/* SCSS */
$brand: #3b1f21;
/* SwiftUI */
Color(red: 0.231, green: 0.122, blue: 0.129)
/* Android */
Color.parseColor("#3b1f21")Accessibility — WCAG contrast
Aa
#3b1f21 on white: 14.96:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#3b1f21 on black: 1.40:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red23.1%
Green12.2%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta47.5%
Yellow44.1%
Key (black)76.9%
Color previews
#3b1f21 text on a black background
contrast 1.40:1
Card sample
#3b1f21 text on a white background
contrast 14.96:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #3b1f21;
Background color
Panel with #3b1f21 background
background-color: #3b1f21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #3b1f21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(59, 31, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(59, 31, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3b1f21; background: linear-gradient(135deg, #3b1f21, #3B301F);