#cd021a ≈ Lava
#cd021a is a color from the red family, with medium lightness and vivid saturation. In the RGB model it is made of 80.39% red, 0.78% green and 10.2% blue; printed in CMYK it uses 0% cyan, 99.02% magenta, 87.32% yellow and 19.61% black. Its hue angle is 352.91°, with 98.07% saturation and 40.59% 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.8:1 (WCAG AA). The closest named color is Lava (#cf1020), ΔE 1.15.
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.131 |
Shades
#cd021a mixed progressively with black.
Tints
#cd021a mixed progressively with white.
Tones
#cd021a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd021a {
color: #cd021a;
}
.bg-cd021a {
background-color: #cd021a;
color: #ffffff;
}
.border-cd021a {
border: 2px solid #cd021a;
}
:root {
--color-primary: #cd021a;
--color-primary-rgb: 205 2 26;
--color-primary-hsl: 353 98% 41%;
}
.gradient-cd021a {
background: linear-gradient(135deg, #cd021a, #cd5002);
}
.shadow-cd021a {
box-shadow: 0 8px 24px rgb(205 2 26 / 0.35);
}
Lava
#cd021a rgb(205, 2, 26) hsl(353, 98%, 41%) Lava
#02cdb5 rgb(2, 205, 181) hsl(173, 98%, 41%) Turquoise
#1acd02 rgb(26, 205, 2) hsl(113, 98%, 41%) Lime Green
#021acd rgb(2, 26, 205) hsl(233, 98%, 41%) Medium Blue