#cc2a42 ≈ Cardinal
#cc2a42 is a color from the red family, with medium lightness and strong saturation. In the RGB model it is made of 80% red, 16.47% green and 25.88% blue; printed in CMYK it uses 0% cyan, 79.41% magenta, 67.65% yellow and 20% black. Its hue angle is 351.11°, with 65.85% saturation and 48.24% 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.28:1 (WCAG AA). The closest named color is Cardinal (#c41e3a), ΔE 2.63.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc3333 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1489 |
Shades
#cc2a42 mixed progressively with black.
Tints
#cc2a42 mixed progressively with white.
Tones
#cc2a42 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cc2a42 {
color: #cc2a42;
}
.bg-cc2a42 {
background-color: #cc2a42;
color: #ffffff;
}
.border-cc2a42 {
border: 2px solid #cc2a42;
}
:root {
--color-primary: #cc2a42;
--color-primary-rgb: 204 42 66;
--color-primary-hsl: 351 66% 48%;
}
.gradient-cc2a42 {
background: linear-gradient(135deg, #cc2a42, #cc632a);
}
.shadow-cc2a42 {
box-shadow: 0 8px 24px rgb(204 42 66 / 0.35);
}
Cardinal
#cc2a42 rgb(204, 42, 66) hsl(351, 66%, 48%) Cardinal
#2accb4 rgb(42, 204, 180) hsl(171, 66%, 48%) Medium Aquamarine
#42cc2a rgb(66, 204, 42) hsl(111, 66%, 48%) Lime Green
#2a42cc rgb(42, 66, 204) hsl(231, 66%, 48%) Persian Blue