#cd151f ≈ Lava
#cd151f is a color from the red family, with medium lightness and strong saturation. In the RGB model it is made of 80.39% red, 8.24% green and 12.16% blue; printed in CMYK it uses 0% cyan, 89.76% magenta, 84.88% yellow and 19.61% black. Its hue angle is 356.74°, with 81.42% saturation and 44.31% 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.64:1 (WCAG AA). The closest named color is Lava (#cf1020), ΔE 0.52.
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.1361 |
Shades
#cd151f mixed progressively with black.
Tints
#cd151f mixed progressively with white.
Tones
#cd151f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd151f {
color: #cd151f;
}
.bg-cd151f {
background-color: #cd151f;
color: #ffffff;
}
.border-cd151f {
border: 2px solid #cd151f;
}
:root {
--color-primary: #cd151f;
--color-primary-rgb: 205 21 31;
--color-primary-hsl: 357 81% 44%;
}
.gradient-cd151f {
background: linear-gradient(135deg, #cd151f, #cd6715);
}
.shadow-cd151f {
box-shadow: 0 8px 24px rgb(205 21 31 / 0.35);
}
Lava
#cd151f rgb(205, 21, 31) hsl(357, 81%, 44%) Lava
#15cdc3 rgb(21, 205, 195) hsl(177, 81%, 44%) Medium Turquoise
#1fcd15 rgb(31, 205, 21) hsl(117, 81%, 44%) Lime Green
#151fcd rgb(21, 31, 205) hsl(237, 81%, 44%) Medium Blue