#cf271d ≈ Lava
#cf271d 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 11.37% blue; printed in CMYK it uses 0% cyan, 81.16% magenta, 85.99% yellow and 18.82% black. Its hue angle is 3.37°, with 75.42% saturation and 46.27% 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 2.95.
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.1481 |
Shades
#cf271d mixed progressively with black.
Tints
#cf271d mixed progressively with white.
Tones
#cf271d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cf271d {
color: #cf271d;
}
.bg-cf271d {
background-color: #cf271d;
color: #ffffff;
}
.border-cf271d {
border: 2px solid #cf271d;
}
:root {
--color-primary: #cf271d;
--color-primary-rgb: 207 39 29;
--color-primary-hsl: 3 75% 46%;
}
.gradient-cf271d {
background: linear-gradient(135deg, #cf271d, #cf801d);
}
.shadow-cf271d {
box-shadow: 0 8px 24px rgb(207 39 29 / 0.35);
}
Lava
#cf271d rgb(207, 39, 29) hsl(3, 75%, 46%) Lava
#1dc5cf rgb(29, 197, 207) hsl(183, 75%, 46%) Dark Turquoise
#1dcf27 rgb(29, 207, 39) hsl(123, 75%, 46%) Lime Green
#271dcf rgb(39, 29, 207) hsl(243, 75%, 46%) Medium Blue