#cf0318 ≈ Lava
#cf0318 is a color from the red family, with medium lightness and vivid saturation. In the RGB model it is made of 81.18% red, 1.18% green and 9.41% blue; printed in CMYK it uses 0% cyan, 98.55% magenta, 88.41% yellow and 18.82% black. Its hue angle is 353.82°, with 97.14% saturation and 41.18% 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.71:1 (WCAG AA). The closest named color is Lava (#cf1020), ΔE 1.39.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc0000 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.134 |
Shades
#cf0318 mixed progressively with black.
Tints
#cf0318 mixed progressively with white.
Tones
#cf0318 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cf0318 {
color: #cf0318;
}
.bg-cf0318 {
background-color: #cf0318;
color: #ffffff;
}
.border-cf0318 {
border: 2px solid #cf0318;
}
:root {
--color-primary: #cf0318;
--color-primary-rgb: 207 3 24;
--color-primary-hsl: 354 97% 41%;
}
.gradient-cf0318 {
background: linear-gradient(135deg, #cf0318, #cf5403);
}
.shadow-cf0318 {
box-shadow: 0 8px 24px rgb(207 3 24 / 0.35);
}
Lava
#cf0318 rgb(207, 3, 24) hsl(354, 97%, 41%) Lava
#03cfba rgb(3, 207, 186) hsl(174, 97%, 41%) Turquoise
#18cf03 rgb(24, 207, 3) hsl(114, 97%, 41%) Lime Green
#0318cf rgb(3, 24, 207) hsl(234, 97%, 41%) Medium Blue