#cc1237 ≈ Cardinal
#cc1237 is a color from the red family, with medium lightness and strong saturation. In the RGB model it is made of 80% red, 7.06% green and 21.57% blue; printed in CMYK it uses 0% cyan, 91.18% magenta, 73.04% yellow and 20% black. Its hue angle is 348.06°, with 83.78% saturation and 43.53% 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.66:1 (WCAG AA). The closest named color is Cardinal (#c41e3a), ΔE 1.57.
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.1355 |
Shades
#cc1237 mixed progressively with black.
Tints
#cc1237 mixed progressively with white.
Tones
#cc1237 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cc1237 {
color: #cc1237;
}
.bg-cc1237 {
background-color: #cc1237;
color: #ffffff;
}
.border-cc1237 {
border: 2px solid #cc1237;
}
:root {
--color-primary: #cc1237;
--color-primary-rgb: 204 18 55;
--color-primary-hsl: 348 84% 44%;
}
.gradient-cc1237 {
background: linear-gradient(135deg, #cc1237, #cc4a12);
}
.shadow-cc1237 {
box-shadow: 0 8px 24px rgb(204 18 55 / 0.35);
}
Cardinal
#cc1237 rgb(204, 18, 55) hsl(348, 84%, 44%) Cardinal
#12cca7 rgb(18, 204, 167) hsl(168, 84%, 44%) Caribbean Green
#37cc12 rgb(55, 204, 18) hsl(108, 84%, 44%) Lime Green
#1237cc rgb(18, 55, 204) hsl(228, 84%, 44%) Persian Blue