#cf221f ≈ Lava
#cf221f is a color from the red family, with medium lightness and strong saturation. In the RGB model it is made of 81.18% red, 13.33% green and 12.16% blue; printed in CMYK it uses 0% cyan, 83.57% magenta, 85.02% yellow and 18.82% black. Its hue angle is 1.02°, with 73.95% saturation and 46.67% 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.38:1 (WCAG AA). The closest named color is Lava (#cf1020), ΔE 1.93.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc3333 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1451 |
Shades
#cf221f mixed progressively with black.
Tints
#cf221f mixed progressively with white.
Tones
#cf221f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cf221f {
color: #cf221f;
}
.bg-cf221f {
background-color: #cf221f;
color: #ffffff;
}
.border-cf221f {
border: 2px solid #cf221f;
}
:root {
--color-primary: #cf221f;
--color-primary-rgb: 207 34 31;
--color-primary-hsl: 1 74% 47%;
}
.gradient-cf221f {
background: linear-gradient(135deg, #cf221f, #cf7a1f);
}
.shadow-cf221f {
box-shadow: 0 8px 24px rgb(207 34 31 / 0.35);
}
Lava
#cf221f rgb(207, 34, 31) hsl(1, 74%, 47%) Lava
#1fcccf rgb(31, 204, 207) hsl(181, 74%, 47%) Dark Turquoise
#1fcf22 rgb(31, 207, 34) hsl(121, 74%, 47%) Lime Green
#221fcf rgb(34, 31, 207) hsl(241, 74%, 47%) Medium Blue