#cd271f ≈ Lava
#cd271f is a color from the red family, with medium lightness and strong saturation. In the RGB model it is made of 80.39% red, 15.29% green and 12.16% blue; printed in CMYK it uses 0% cyan, 80.98% magenta, 84.88% yellow and 19.61% black. Its hue angle is 2.76°, with 73.73% 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.38:1 (WCAG AA). The closest named color is Lava (#cf1020), ΔE 2.45.
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.1453 |
Shades
#cd271f mixed progressively with black.
Tints
#cd271f mixed progressively with white.
Tones
#cd271f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd271f {
color: #cd271f;
}
.bg-cd271f {
background-color: #cd271f;
color: #ffffff;
}
.border-cd271f {
border: 2px solid #cd271f;
}
:root {
--color-primary: #cd271f;
--color-primary-rgb: 205 39 31;
--color-primary-hsl: 3 74% 46%;
}
.gradient-cd271f {
background: linear-gradient(135deg, #cd271f, #cd7e1f);
}
.shadow-cd271f {
box-shadow: 0 8px 24px rgb(205 39 31 / 0.35);
}
Lava
#cd271f rgb(205, 39, 31) hsl(3, 74%, 46%) Lava
#1fc5cd rgb(31, 197, 205) hsl(183, 74%, 46%) Dark Turquoise
#1fcd27 rgb(31, 205, 39) hsl(123, 74%, 46%) Lime Green
#271fcd rgb(39, 31, 205) hsl(243, 74%, 46%) Medium Blue