#0c040f ≈ Licorice
#0c040f is a color from the black family, with very low lightness and muted saturation. In the RGB model it is made of 4.71% red, 1.57% green and 5.88% blue; printed in CMYK it uses 20% cyan, 73.33% magenta, 0% yellow and 94.12% black. Its hue angle is 283.64°, with 57.89% saturation and 3.73% lightness in HSL. It is a neutral color, often associated with sophistication, power and elegance. Designers typically use it for body text and typography and luxury branding. White text on this color reaches a contrast ratio of 20.19:1 (WCAG AAA). The closest named color is Licorice (#1a1110), ΔE 5.55.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #000000 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.002 |
Shades
#0c040f mixed progressively with black.
Tints
#0c040f mixed progressively with white.
Tones
#0c040f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-0c040f {
color: #0c040f;
}
.bg-0c040f {
background-color: #0c040f;
color: #ffffff;
}
.border-0c040f {
border: 2px solid #0c040f;
}
:root {
--color-primary: #0c040f;
--color-primary-rgb: 12 4 15;
--color-primary-hsl: 284 58% 4%;
}
.gradient-0c040f {
background: linear-gradient(135deg, #0c040f, #0f040d);
}
.shadow-0c040f {
box-shadow: 0 8px 24px rgb(12 4 15 / 0.35);
}
Licorice
#0c040f rgb(12, 4, 15) hsl(284, 58%, 4%) Licorice
#070f04 rgb(7, 15, 4) hsl(104, 58%, 4%) Black
#0f0c04 rgb(15, 12, 4) hsl(44, 58%, 4%) Smoky Black
#040f0c rgb(4, 15, 12) hsl(164, 58%, 4%) Black