#db171f ≈ Cadmium Red
#db171f is a color from the red family, with medium lightness and vivid saturation. In the RGB model it is made of 85.88% red, 9.02% green and 12.16% blue; printed in CMYK it uses 0% cyan, 89.5% magenta, 85.84% yellow and 14.12% black. Its hue angle is 357.55°, with 80.99% saturation and 47.45% 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.05:1 (WCAG AA). The closest named color is Cadmium Red (#e30022), ΔE 1.7.
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.1577 |
Shades
#db171f mixed progressively with black.
Tints
#db171f mixed progressively with white.
Tones
#db171f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-db171f {
color: #db171f;
}
.bg-db171f {
background-color: #db171f;
color: #ffffff;
}
.border-db171f {
border: 2px solid #db171f;
}
:root {
--color-primary: #db171f;
--color-primary-rgb: 219 23 31;
--color-primary-hsl: 358 81% 47%;
}
.gradient-db171f {
background: linear-gradient(135deg, #db171f, #db7117);
}
.shadow-db171f {
box-shadow: 0 8px 24px rgb(219 23 31 / 0.35);
}
Cadmium Red
#db171f rgb(219, 23, 31) hsl(358, 81%, 47%) Cadmium Red
#17dbd3 rgb(23, 219, 211) hsl(178, 81%, 47%) Bright Turquoise
#1fdb17 rgb(31, 219, 23) hsl(118, 81%, 47%) Lime Green
#171fdb rgb(23, 31, 219) hsl(238, 81%, 47%) Blue