#18211f ≈ Gunmetal
#18211f is a color from the gray family, with very low lightness and muted saturation. In the RGB model it is made of 9.41% red, 12.94% green and 12.16% blue; printed in CMYK it uses 27.27% cyan, 0% magenta, 6.06% yellow and 87.06% black. Its hue angle is 166.67°, with 15.79% saturation and 11.18% 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 16.46:1 (WCAG AAA). The closest named color is Gunmetal (#2a3439), ΔE 7.74.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #003333 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0138 |
Shades
#18211f mixed progressively with black.
Tints
#18211f mixed progressively with white.
Tones
#18211f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-18211f {
color: #18211f;
}
.bg-18211f {
background-color: #18211f;
color: #ffffff;
}
.border-18211f {
border: 2px solid #18211f;
}
:root {
--color-primary: #18211f;
--color-primary-rgb: 24 33 31;
--color-primary-hsl: 167 16% 11%;
}
.gradient-18211f {
background: linear-gradient(135deg, #18211f, #181f21);
}
.shadow-18211f {
box-shadow: 0 8px 24px rgb(24 33 31 / 0.35);
}
Gunmetal
#18211f rgb(24, 33, 31) hsl(167, 16%, 11%) Gunmetal
#21181a rgb(33, 24, 26) hsl(347, 16%, 11%) Licorice
#1f1821 rgb(31, 24, 33) hsl(287, 16%, 11%) Licorice
#211f18 rgb(33, 31, 24) hsl(47, 16%, 11%) Smoky Black