#3d1f21
a deep, soft red · warm · closest name: black
RGB
61, 31, 33
HSL
356°, 33%, 18%
CMYK
0, 49, 46, 76
Luminance
0.0208
Every format
| HEX | #3d1f21 |
| RGB | rgb(61, 31, 33) |
| HSL | hsl(356, 33%, 18%) |
| CMYK | cmyk(0%, 49%, 46%, 76%) |
| LAB | lab(15.9 14.8 5.0) |
| LCH | lch(15.9 15.6 18.8) |
| OKLCH | oklch(0.281 0.047 16.2) |
Copy-ready code
/* CSS */
color: #3d1f21;
background-color: #3d1f21;
/* Tailwind (arbitrary) */
class="text-[#3d1f21] bg-[#3d1f21]"
/* SCSS */
$brand: #3d1f21;
/* SwiftUI */
Color(red: 0.239, green: 0.122, blue: 0.129)
/* Android */
Color.parseColor("#3d1f21")Accessibility — WCAG contrast
Aa
#3d1f21 on white: 14.83:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#3d1f21 on black: 1.42:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red23.9%
Green12.2%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta49.2%
Yellow45.9%
Key (black)76.1%
Color previews
#3d1f21 text on a black background
contrast 1.42:1
Card sample
#3d1f21 text on a white background
contrast 14.83:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #3d1f21;
Background color
Panel with #3d1f21 background
background-color: #3d1f21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #3d1f21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(61, 31, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(61, 31, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3d1f21; background: linear-gradient(135deg, #3d1f21, #3D311F);