#cc0542 ≈ Cardinal
#cc0542 is a color from the rose family, with medium lightness and vivid saturation. In the RGB model it is made of 80% red, 1.96% green and 25.88% blue; printed in CMYK it uses 0% cyan, 97.55% magenta, 67.65% yellow and 20% black. Its hue angle is 341.61°, with 95.22% saturation and 40.98% lightness in HSL. It is a warm color, often associated with romance, playfulness and affection. 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.73:1 (WCAG AA). The closest named color is Cardinal (#c41e3a), ΔE 3.14.
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.1334 |
Shades
#cc0542 mixed progressively with black.
Tints
#cc0542 mixed progressively with white.
Tones
#cc0542 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cc0542 {
color: #cc0542;
}
.bg-cc0542 {
background-color: #cc0542;
color: #ffffff;
}
.border-cc0542 {
border: 2px solid #cc0542;
}
:root {
--color-primary: #cc0542;
--color-primary-rgb: 204 5 66;
--color-primary-hsl: 342 95% 41%;
}
.gradient-cc0542 {
background: linear-gradient(135deg, #cc0542, #cc2c05);
}
.shadow-cc0542 {
box-shadow: 0 8px 24px rgb(204 5 66 / 0.35);
}
Cardinal
#cc0542 rgb(204, 5, 66) hsl(342, 95%, 41%) Cardinal
#05cc8f rgb(5, 204, 143) hsl(162, 95%, 41%) Caribbean Green
#42cc05 rgb(66, 204, 5) hsl(102, 95%, 41%) Lime Green
#0542cc rgb(5, 66, 204) hsl(222, 95%, 41%) Persian Blue