#c5042a ≈ Cardinal
#c5042a is a color from the red family, with low lightness and vivid saturation. In the RGB model it is made of 77.25% red, 1.57% green and 16.47% blue; printed in CMYK it uses 0% cyan, 97.97% magenta, 78.68% yellow and 22.75% black. Its hue angle is 348.19°, with 96.02% saturation and 39.41% 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 6.13:1 (WCAG AA). The closest named color is Cardinal (#c41e3a), ΔE 3.6.
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.1212 |
Shades
#c5042a mixed progressively with black.
Tints
#c5042a mixed progressively with white.
Tones
#c5042a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c5042a {
color: #c5042a;
}
.bg-c5042a {
background-color: #c5042a;
color: #ffffff;
}
.border-c5042a {
border: 2px solid #c5042a;
}
:root {
--color-primary: #c5042a;
--color-primary-rgb: 197 4 42;
--color-primary-hsl: 348 96% 39%;
}
.gradient-c5042a {
background: linear-gradient(135deg, #c5042a, #c53f04);
}
.shadow-c5042a {
box-shadow: 0 8px 24px rgb(197 4 42 / 0.35);
}
Cardinal
#c5042a rgb(197, 4, 42) hsl(348, 96%, 39%) Cardinal
#04c59f rgb(4, 197, 159) hsl(168, 96%, 39%) Caribbean Green
#2ac504 rgb(42, 197, 4) hsl(108, 96%, 39%) Lime Green
#042ac5 rgb(4, 42, 197) hsl(228, 96%, 39%) Persian Blue