#cf271c ≈ Lava
#cf271c is a color from the red family, with medium lightness and strong saturation. In the RGB model it is made of 81.18% red, 15.29% green and 10.98% blue; printed in CMYK it uses 0% cyan, 81.16% magenta, 86.47% yellow and 18.82% black. Its hue angle is 3.69°, with 76.17% saturation and 46.08% 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.3:1 (WCAG AA). The closest named color is Lava (#cf1020), ΔE 3.12.
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.148 |
Shades
#cf271c mixed progressively with black.
Tints
#cf271c mixed progressively with white.
Tones
#cf271c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cf271c {
color: #cf271c;
}
.bg-cf271c {
background-color: #cf271c;
color: #ffffff;
}
.border-cf271c {
border: 2px solid #cf271c;
}
:root {
--color-primary: #cf271c;
--color-primary-rgb: 207 39 28;
--color-primary-hsl: 4 76% 46%;
}
.gradient-cf271c {
background: linear-gradient(135deg, #cf271c, #cf811c);
}
.shadow-cf271c {
box-shadow: 0 8px 24px rgb(207 39 28 / 0.35);
}
Lava
#cf271c rgb(207, 39, 28) hsl(4, 76%, 46%) Lava
#1cc4cf rgb(28, 196, 207) hsl(184, 76%, 46%) Dark Turquoise
#1ccf27 rgb(28, 207, 39) hsl(124, 76%, 46%) Lime Green
#271ccf rgb(39, 28, 207) hsl(244, 76%, 46%) Medium Blue