#1b080c
a deep, vivid red · warm · closest name: black
RGB
27, 8, 12
HSL
347°, 54%, 7%
CMYK
0, 70, 56, 89
Luminance
0.0043
Every format
| HEX | #1b080c |
| RGB | rgb(27, 8, 12) |
| HSL | hsl(347, 54%, 7%) |
| CMYK | cmyk(0%, 70%, 56%, 89%) |
| LAB | lab(3.9 7.9 1.0) |
| LCH | lch(3.9 8.0 7.4) |
| OKLCH | oklch(0.167 0.034 7.8) |
Copy-ready code
/* CSS */
color: #1b080c;
background-color: #1b080c;
/* Tailwind (arbitrary) */
class="text-[#1b080c] bg-[#1b080c]"
/* SCSS */
$brand: #1b080c;
/* SwiftUI */
Color(red: 0.106, green: 0.031, blue: 0.047)
/* Android */
Color.parseColor("#1b080c")Accessibility — WCAG contrast
Aa
#1b080c on white: 19.33:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#1b080c on black: 1.09:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red10.6%
Green3.1%
Blue4.7%
CMYK percentages
Cyan0.0%
Magenta70.4%
Yellow55.6%
Key (black)89.4%
Color previews
#1b080c text on a black background
contrast 1.09:1
Card sample
#1b080c text on a white background
contrast 19.33:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #1b080c;
Background color
Panel with #1b080c background
background-color: #1b080c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #1b080c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(27, 8, 12, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(27, 8, 12, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1b080c; background: linear-gradient(135deg, #1b080c, #1B1108);