#2a172d ≈ Licorice
#2a172d is a color from the magenta family, with very low lightness and muted saturation. In the RGB model it is made of 16.47% red, 9.02% green and 17.65% blue; printed in CMYK it uses 6.67% cyan, 48.89% magenta, 0% yellow and 82.35% black. Its hue angle is 291.82°, with 32.35% saturation and 13.33% lightness in HSL. It sits between warm and cool, and is often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and luxury branding. White text on this color reaches a contrast ratio of 16.68:1 (WCAG AAA). The closest named color is Licorice (#1a1110), ΔE 13.2.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #330033 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0129 |
Shades
#2a172d mixed progressively with black.
Tints
#2a172d mixed progressively with white.
Tones
#2a172d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-2a172d {
color: #2a172d;
}
.bg-2a172d {
background-color: #2a172d;
color: #ffffff;
}
.border-2a172d {
border: 2px solid #2a172d;
}
:root {
--color-primary: #2a172d;
--color-primary-rgb: 42 23 45;
--color-primary-hsl: 292 32% 13%;
}
.gradient-2a172d {
background: linear-gradient(135deg, #2a172d, #2d1725);
}
.shadow-2a172d {
box-shadow: 0 8px 24px rgb(42 23 45 / 0.35);
}
Licorice
#2a172d rgb(42, 23, 45) hsl(292, 32%, 13%) Licorice
#1a2d17 rgb(26, 45, 23) hsl(112, 32%, 13%) Phthalo Green
#2d2a17 rgb(45, 42, 23) hsl(52, 32%, 13%) Black Olive
#172d2a rgb(23, 45, 42) hsl(172, 32%, 13%) Phthalo Green