#cf171e ≈ Lava
#cf171e is a color from the red family, with medium lightness and strong saturation. In the RGB model it is made of 81.18% red, 9.02% green and 11.76% blue; printed in CMYK it uses 0% cyan, 88.89% magenta, 85.51% yellow and 18.82% black. Its hue angle is 357.72°, with 80% saturation and 45.1% lightness in HSL. It is a warm color, often associated with energy, passion and urgency. Designers typically use it for food and restaurant brands, sales and promotions and brand accents. White text on this color reaches a contrast ratio of 5.53:1 (WCAG AA). The closest named color is Lava (#cf1020), ΔE 0.92.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc0033 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1397 |
Shades
#cf171e mixed progressively with black.
Tints
#cf171e mixed progressively with white.
Tones
#cf171e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cf171e {
color: #cf171e;
}
.bg-cf171e {
background-color: #cf171e;
color: #ffffff;
}
.border-cf171e {
border: 2px solid #cf171e;
}
:root {
--color-primary: #cf171e;
--color-primary-rgb: 207 23 30;
--color-primary-hsl: 358 80% 45%;
}
.gradient-cf171e {
background: linear-gradient(135deg, #cf171e, #cf6c17);
}
.shadow-cf171e {
box-shadow: 0 8px 24px rgb(207 23 30 / 0.35);
}
Lava
#cf171e rgb(207, 23, 30) hsl(358, 80%, 45%) Lava
#17cfc8 rgb(23, 207, 200) hsl(178, 80%, 45%) Medium Turquoise
#1ecf17 rgb(30, 207, 23) hsl(118, 80%, 45%) Lime Green
#171ecf rgb(23, 30, 207) hsl(238, 80%, 45%) Medium Blue