#cc021d ≈ Lava
#cc021d 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.37% blue; printed in CMYK it uses 0% cyan, 99.02% magenta, 85.78% yellow and 20% black. Its hue angle is 351.98°, 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.06.
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
#cc021d mixed progressively with black.
Tints
#cc021d mixed progressively with white.
Tones
#cc021d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cc021d {
color: #cc021d;
}
.bg-cc021d {
background-color: #cc021d;
color: #ffffff;
}
.border-cc021d {
border: 2px solid #cc021d;
}
:root {
--color-primary: #cc021d;
--color-primary-rgb: 204 2 29;
--color-primary-hsl: 352 98% 40%;
}
.gradient-cc021d {
background: linear-gradient(135deg, #cc021d, #cc4c02);
}
.shadow-cc021d {
box-shadow: 0 8px 24px rgb(204 2 29 / 0.35);
}
Lava
#cc021d rgb(204, 2, 29) hsl(352, 98%, 40%) Lava
#02ccb1 rgb(2, 204, 177) hsl(172, 98%, 40%) Medium Aquamarine
#1dcc02 rgb(29, 204, 2) hsl(112, 98%, 40%) Lime Green
#021dcc rgb(2, 29, 204) hsl(232, 98%, 40%) Medium Blue