#331414
a deep, soft red · warm · closest name: black
RGB
51, 20, 20
HSL
0°, 44%, 14%
CMYK
0, 61, 61, 80
Luminance
0.0125
Every format
| HEX | #331414 |
| RGB | rgb(51, 20, 20) |
| HSL | hsl(0, 44%, 14%) |
| CMYK | cmyk(0%, 61%, 61%, 80%) |
| LAB | lab(11.0 15.6 7.3) |
| LCH | lch(11.0 17.2 24.9) |
| OKLCH | oklch(0.238 0.050 21.6) |
Copy-ready code
/* CSS */
color: #331414;
background-color: #331414;
/* Tailwind (arbitrary) */
class="text-[#331414] bg-[#331414]"
/* SCSS */
$brand: #331414;
/* SwiftUI */
Color(red: 0.200, green: 0.078, blue: 0.078)
/* Android */
Color.parseColor("#331414")Accessibility — WCAG contrast
Aa
#331414 on white: 16.79:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#331414 on black: 1.25:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red20.0%
Green7.8%
Blue7.8%
CMYK percentages
Cyan0.0%
Magenta60.8%
Yellow60.8%
Key (black)80.0%
Color previews
#331414 text on a black background
contrast 1.25:1
Card sample
#331414 text on a white background
contrast 16.79:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #331414;
Background color
Panel with #331414 background
background-color: #331414;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #331414;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(51, 20, 20, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(51, 20, 20, 0.45);
Border & gradient
Gradient panel
border: 3px solid #331414; background: linear-gradient(135deg, #331414, #332914);