#cc173e ≈ Cardinal
#cc173e is a color from the red family, with medium lightness and strong saturation. In the RGB model it is made of 80% red, 9.02% green and 24.31% blue; printed in CMYK it uses 0% cyan, 88.73% magenta, 69.61% yellow and 20% black. Its hue angle is 347.07°, with 79.74% saturation and 44.51% 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 brand accents. White text on this color reaches a contrast ratio of 5.59:1 (WCAG AA). The closest named color is Cardinal (#c41e3a), ΔE 1.69.
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.138 |
Shades
#cc173e mixed progressively with black.
Tints
#cc173e mixed progressively with white.
Tones
#cc173e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cc173e {
color: #cc173e;
}
.bg-cc173e {
background-color: #cc173e;
color: #ffffff;
}
.border-cc173e {
border: 2px solid #cc173e;
}
:root {
--color-primary: #cc173e;
--color-primary-rgb: 204 23 62;
--color-primary-hsl: 347 80% 45%;
}
.gradient-cc173e {
background: linear-gradient(135deg, #cc173e, #cc4a17);
}
.shadow-cc173e {
box-shadow: 0 8px 24px rgb(204 23 62 / 0.35);
}
Cardinal
#cc173e rgb(204, 23, 62) hsl(347, 80%, 45%) Cardinal
#17cca5 rgb(23, 204, 165) hsl(167, 80%, 45%) Caribbean Green
#3ecc17 rgb(62, 204, 23) hsl(107, 80%, 45%) Lime Green
#173ecc rgb(23, 62, 204) hsl(227, 80%, 45%) Persian Blue