#320c13
a deep, vivid red · warm · closest name: black
RGB
50, 12, 19
HSL
349°, 61%, 12%
CMYK
0, 76, 62, 80
Luminance
0.0099
Every format
| HEX | #320c13 |
| RGB | rgb(50, 12, 19) |
| HSL | hsl(349, 61%, 12%) |
| CMYK | cmyk(0%, 76%, 62%, 80%) |
| LAB | lab(8.9 19.9 5.0) |
| LCH | lch(8.9 20.5 14.0) |
| OKLCH | oklch(0.222 0.062 12.6) |
Copy-ready code
/* CSS */
color: #320c13;
background-color: #320c13;
/* Tailwind (arbitrary) */
class="text-[#320c13] bg-[#320c13]"
/* SCSS */
$brand: #320c13;
/* SwiftUI */
Color(red: 0.196, green: 0.047, blue: 0.075)
/* Android */
Color.parseColor("#320c13")Accessibility — WCAG contrast
Aa
#320c13 on white: 17.53:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#320c13 on black: 1.20:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red19.6%
Green4.7%
Blue7.5%
CMYK percentages
Cyan0.0%
Magenta76.0%
Yellow62.0%
Key (black)80.4%
Color previews
#320c13 text on a black background
contrast 1.20:1
Card sample
#320c13 text on a white background
contrast 17.53:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #320c13;
Background color
Panel with #320c13 background
background-color: #320c13;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #320c13;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(50, 12, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(50, 12, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #320c13; background: linear-gradient(135deg, #320c13, #321E0C);