#c02a4e ≈ Cardinal
#c02a4e is a color from the red family, with medium lightness and strong saturation. In the RGB model it is made of 75.29% red, 16.47% green and 30.59% blue; printed in CMYK it uses 0% cyan, 78.13% magenta, 59.38% yellow and 24.71% black. Its hue angle is 345.6°, with 64.1% saturation and 45.88% 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.7:1 (WCAG AA). The closest named color is Cardinal (#c41e3a), ΔE 5.44.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc3366 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1341 |
Shades
#c02a4e mixed progressively with black.
Tints
#c02a4e mixed progressively with white.
Tones
#c02a4e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c02a4e {
color: #c02a4e;
}
.bg-c02a4e {
background-color: #c02a4e;
color: #ffffff;
}
.border-c02a4e {
border: 2px solid #c02a4e;
}
:root {
--color-primary: #c02a4e;
--color-primary-rgb: 192 42 78;
--color-primary-hsl: 346 64% 46%;
}
.gradient-c02a4e {
background: linear-gradient(135deg, #c02a4e, #c0512a);
}
.shadow-c02a4e {
box-shadow: 0 8px 24px rgb(192 42 78 / 0.35);
}
Cardinal
#c02a4e rgb(192, 42, 78) hsl(346, 64%, 46%) Cardinal
#2ac09c rgb(42, 192, 156) hsl(166, 64%, 46%) Mint
#4ec02a rgb(78, 192, 42) hsl(106, 64%, 46%) Kelly Green
#2a4ec0 rgb(42, 78, 192) hsl(226, 64%, 46%) Sapphire