#cd151b ≈ Lava
#cd151b 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 10.59% blue; printed in CMYK it uses 0% cyan, 89.76% magenta, 86.83% yellow and 19.61% black. Its hue angle is 358.04°, 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.65:1 (WCAG AA). The closest named color is Lava (#cf1020), ΔE 1.33.
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.1359 |
Shades
#cd151b mixed progressively with black.
Tints
#cd151b mixed progressively with white.
Tones
#cd151b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd151b {
color: #cd151b;
}
.bg-cd151b {
background-color: #cd151b;
color: #ffffff;
}
.border-cd151b {
border: 2px solid #cd151b;
}
:root {
--color-primary: #cd151b;
--color-primary-rgb: 205 21 27;
--color-primary-hsl: 358 81% 44%;
}
.gradient-cd151b {
background: linear-gradient(135deg, #cd151b, #cd6b15);
}
.shadow-cd151b {
box-shadow: 0 8px 24px rgb(205 21 27 / 0.35);
}
Lava
#cd151b rgb(205, 21, 27) hsl(358, 81%, 44%) Lava
#15cdc7 rgb(21, 205, 199) hsl(178, 81%, 44%) Robin Egg Blue
#1bcd15 rgb(27, 205, 21) hsl(118, 81%, 44%) Lime Green
#151bcd rgb(21, 27, 205) hsl(238, 81%, 44%) Medium Blue