#31272a ≈ Licorice
#31272a is a color from the gray family, with very low lightness and almost no saturation. In the RGB model it is made of 19.22% red, 15.29% green and 16.47% blue; printed in CMYK it uses 0% cyan, 20.41% magenta, 14.29% yellow and 80.78% black. Its hue angle is 342°, with 11.36% saturation and 17.25% lightness in HSL. It is a neutral color, often associated with neutrality, balance and professionalism. Designers typically use it for body text and typography and corporate identities. White text on this color reaches a contrast ratio of 14.44:1 (WCAG AAA). The closest named color is Licorice (#1a1110), ΔE 7.39.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #333333 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0227 |
Shades
#31272a mixed progressively with black.
Tints
#31272a mixed progressively with white.
Tones
#31272a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-31272a {
color: #31272a;
}
.bg-31272a {
background-color: #31272a;
color: #ffffff;
}
.border-31272a {
border: 2px solid #31272a;
}
:root {
--color-primary: #31272a;
--color-primary-rgb: 49 39 42;
--color-primary-hsl: 342 11% 17%;
}
.gradient-31272a {
background: linear-gradient(135deg, #31272a, #312927);
}
.shadow-31272a {
box-shadow: 0 8px 24px rgb(49 39 42 / 0.35);
}
Licorice
#31272a rgb(49, 39, 42) hsl(342, 11%, 17%) Licorice
#27312e rgb(39, 49, 46) hsl(162, 11%, 17%) Gunmetal
#2a3127 rgb(42, 49, 39) hsl(102, 11%, 17%) Black Olive
#272a31 rgb(39, 42, 49) hsl(222, 11%, 17%) Gunmetal