#cc021e ≈ Lava
#cc021e is a color from the red family, with medium lightness and vivid saturation. In the RGB model it is made of 80% red, 0.78% green and 11.76% blue; printed in CMYK it uses 0% cyan, 99.02% magenta, 85.29% yellow and 20% black. Its hue angle is 351.68°, with 98.06% saturation and 40.39% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 5.84:1 (WCAG AA). The closest named color is Lava (#cf1020), ΔE 1.08.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc0033 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1297 |
Shades
#cc021e mixed progressively with black.
Tints
#cc021e mixed progressively with white.
Tones
#cc021e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cc021e {
color: #cc021e;
}
.bg-cc021e {
background-color: #cc021e;
color: #ffffff;
}
.border-cc021e {
border: 2px solid #cc021e;
}
:root {
--color-primary: #cc021e;
--color-primary-rgb: 204 2 30;
--color-primary-hsl: 352 98% 40%;
}
.gradient-cc021e {
background: linear-gradient(135deg, #cc021e, #cc4b02);
}
.shadow-cc021e {
box-shadow: 0 8px 24px rgb(204 2 30 / 0.35);
}
Lava
#cc021e rgb(204, 2, 30) hsl(352, 98%, 40%) Lava
#02ccb0 rgb(2, 204, 176) hsl(172, 98%, 40%) Medium Aquamarine
#1ecc02 rgb(30, 204, 2) hsl(112, 98%, 40%) Lime Green
#021ecc rgb(2, 30, 204) hsl(232, 98%, 40%) Medium Blue