#c4012d ≈ Cardinal
#c4012d is a color from the red family, with low lightness and vivid saturation. In the RGB model it is made of 76.86% red, 0.39% green and 17.65% blue; printed in CMYK it uses 0% cyan, 99.49% magenta, 77.04% yellow and 23.14% black. Its hue angle is 346.46°, with 98.98% saturation and 38.63% 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.2:1 (WCAG AA). The closest named color is Cardinal (#c41e3a), ΔE 2.83.
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.1195 |
Shades
#c4012d mixed progressively with black.
Tints
#c4012d mixed progressively with white.
Tones
#c4012d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c4012d {
color: #c4012d;
}
.bg-c4012d {
background-color: #c4012d;
color: #ffffff;
}
.border-c4012d {
border: 2px solid #c4012d;
}
:root {
--color-primary: #c4012d;
--color-primary-rgb: 196 1 45;
--color-primary-hsl: 346 99% 39%;
}
.gradient-c4012d {
background: linear-gradient(135deg, #c4012d, #c43701);
}
.shadow-c4012d {
box-shadow: 0 8px 24px rgb(196 1 45 / 0.35);
}
Cardinal
#c4012d rgb(196, 1, 45) hsl(346, 99%, 39%) Cardinal
#01c498 rgb(1, 196, 152) hsl(166, 99%, 39%) Caribbean Green
#2dc401 rgb(45, 196, 1) hsl(106, 99%, 39%) Kelly Green
#012dc4 rgb(1, 45, 196) hsl(226, 99%, 39%) Persian Blue