#0c0b0c
a deep, muted near-black · warm · closest name: black
RGB
12, 11, 12
HSL
300°, 4%, 5%
CMYK
0, 8, 0, 95
Luminance
0.0034
Every format
| HEX | #0c0b0c |
| RGB | rgb(12, 11, 12) |
| HSL | hsl(300, 4%, 5%) |
| CMYK | cmyk(0%, 8%, 0%, 95%) |
| LAB | lab(3.1 0.4 -0.3) |
| LCH | lch(3.1 0.5 324.8) |
| OKLCH | oklch(0.151 0.003 325.7) |
Copy-ready code
/* CSS */
color: #0c0b0c;
background-color: #0c0b0c;
/* Tailwind (arbitrary) */
class="text-[#0c0b0c] bg-[#0c0b0c]"
/* SCSS */
$brand: #0c0b0c;
/* SwiftUI */
Color(red: 0.047, green: 0.043, blue: 0.047)
/* Android */
Color.parseColor("#0c0b0c")Accessibility — WCAG contrast
Aa
#0c0b0c on white: 19.65:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#0c0b0c on black: 1.07:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red4.7%
Green4.3%
Blue4.7%
CMYK percentages
Cyan0.0%
Magenta8.3%
Yellow0.0%
Key (black)95.3%
Color previews
#0c0b0c text on a black background
contrast 1.07:1
Card sample
#0c0b0c text on a white background
contrast 19.65:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0c0b0c;
Background color
Panel with #0c0b0c background
background-color: #0c0b0c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0c0b0c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(12, 11, 12, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(12, 11, 12, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0c0b0c; background: linear-gradient(135deg, #0c0b0c, #0C0B0B);