#cd031f ≈ Lava
#cd031f is a color from the red family, with medium lightness and vivid saturation. In the RGB model it is made of 80.39% red, 1.18% green and 12.16% blue; printed in CMYK it uses 0% cyan, 98.54% magenta, 84.88% yellow and 19.61% black. Its hue angle is 351.68°, with 97.12% saturation and 40.78% 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.79:1 (WCAG AA). The closest named color is Lava (#cf1020), ΔE 0.91.
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.1314 |
Shades
#cd031f mixed progressively with black.
Tints
#cd031f mixed progressively with white.
Tones
#cd031f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd031f {
color: #cd031f;
}
.bg-cd031f {
background-color: #cd031f;
color: #ffffff;
}
.border-cd031f {
border: 2px solid #cd031f;
}
:root {
--color-primary: #cd031f;
--color-primary-rgb: 205 3 31;
--color-primary-hsl: 352 97% 41%;
}
.gradient-cd031f {
background: linear-gradient(135deg, #cd031f, #cd4c03);
}
.shadow-cd031f {
box-shadow: 0 8px 24px rgb(205 3 31 / 0.35);
}
Lava
#cd031f rgb(205, 3, 31) hsl(352, 97%, 41%) Lava
#03cdb1 rgb(3, 205, 177) hsl(172, 97%, 41%) Medium Aquamarine
#1fcd03 rgb(31, 205, 3) hsl(112, 97%, 41%) Lime Green
#031fcd rgb(3, 31, 205) hsl(232, 97%, 41%) Medium Blue