#ca271e ≈ Lava
#ca271e is a color from the red family, with medium lightness and strong saturation. In the RGB model it is made of 79.22% red, 15.29% green and 11.76% blue; printed in CMYK it uses 0% cyan, 80.69% magenta, 85.15% yellow and 20.78% black. Its hue angle is 3.14°, with 74.14% saturation and 45.49% 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.5:1 (WCAG AA). The closest named color is Lava (#cf1020), ΔE 2.48.
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.141 |
Shades
#ca271e mixed progressively with black.
Tints
#ca271e mixed progressively with white.
Tones
#ca271e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ca271e {
color: #ca271e;
}
.bg-ca271e {
background-color: #ca271e;
color: #ffffff;
}
.border-ca271e {
border: 2px solid #ca271e;
}
:root {
--color-primary: #ca271e;
--color-primary-rgb: 202 39 30;
--color-primary-hsl: 3 74% 45%;
}
.gradient-ca271e {
background: linear-gradient(135deg, #ca271e, #ca7d1e);
}
.shadow-ca271e {
box-shadow: 0 8px 24px rgb(202 39 30 / 0.35);
}
Lava
#ca271e rgb(202, 39, 30) hsl(3, 74%, 45%) Lava
#1ec1ca rgb(30, 193, 202) hsl(183, 74%, 45%) Dark Turquoise
#1eca27 rgb(30, 202, 39) hsl(123, 74%, 45%) Lime Green
#271eca rgb(39, 30, 202) hsl(243, 74%, 45%) Medium Blue