#cc022f ≈ Cardinal
#cc022f is a color from the red family, with medium lightness and vivid saturation. In the RGB model it is made of 80% red, 0.78% green and 18.43% blue; printed in CMYK it uses 0% cyan, 99.02% magenta, 76.96% yellow and 20% black. Its hue angle is 346.63°, with 98.06% saturation and 40.39% 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.81:1 (WCAG AA). The closest named color is Cardinal (#c41e3a), ΔE 2.85.
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.1309 |
Shades
#cc022f mixed progressively with black.
Tints
#cc022f mixed progressively with white.
Tones
#cc022f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cc022f {
color: #cc022f;
}
.bg-cc022f {
background-color: #cc022f;
color: #ffffff;
}
.border-cc022f {
border: 2px solid #cc022f;
}
:root {
--color-primary: #cc022f;
--color-primary-rgb: 204 2 47;
--color-primary-hsl: 347 98% 40%;
}
.gradient-cc022f {
background: linear-gradient(135deg, #cc022f, #cc3a02);
}
.shadow-cc022f {
box-shadow: 0 8px 24px rgb(204 2 47 / 0.35);
}
Cardinal
#cc022f rgb(204, 2, 47) hsl(347, 98%, 40%) Cardinal
#02cc9f rgb(2, 204, 159) hsl(167, 98%, 40%) Caribbean Green
#2fcc02 rgb(47, 204, 2) hsl(107, 98%, 40%) Lime Green
#022fcc rgb(2, 47, 204) hsl(227, 98%, 40%) Persian Blue