#401310
a deep, vivid red · warm · closest name: black
RGB
64, 19, 16
HSL
4°, 60%, 16%
CMYK
0, 70, 75, 75
Luminance
0.0159
Every format
| HEX | #401310 |
| RGB | rgb(64, 19, 16) |
| HSL | hsl(4, 60%, 16%) |
| CMYK | cmyk(0%, 70%, 75%, 75%) |
| LAB | lab(13.2 21.7 13.2) |
| LCH | lch(13.2 25.4 31.3) |
| OKLCH | oklch(0.260 0.071 26.9) |
Copy-ready code
/* CSS */
color: #401310;
background-color: #401310;
/* Tailwind (arbitrary) */
class="text-[#401310] bg-[#401310]"
/* SCSS */
$brand: #401310;
/* SwiftUI */
Color(red: 0.251, green: 0.075, blue: 0.063)
/* Android */
Color.parseColor("#401310")Accessibility — WCAG contrast
Aa
#401310 on white: 15.93:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#401310 on black: 1.32:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red25.1%
Green7.5%
Blue6.3%
CMYK percentages
Cyan0.0%
Magenta70.3%
Yellow75.0%
Key (black)74.9%
Color previews
#401310 text on a black background
contrast 1.32:1
Card sample
#401310 text on a white background
contrast 15.93:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #401310;
Background color
Panel with #401310 background
background-color: #401310;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #401310;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(64, 19, 16, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(64, 19, 16, 0.45);
Border & gradient
Gradient panel
border: 3px solid #401310; background: linear-gradient(135deg, #401310, #403310);