#ba2d4e ≈ Cardinal
#ba2d4e is a color from the red family, with medium lightness and strong saturation. In the RGB model it is made of 72.94% red, 17.65% green and 30.59% blue; printed in CMYK it uses 0% cyan, 75.81% magenta, 58.06% yellow and 27.06% black. Its hue angle is 345.96°, with 61.04% saturation and 45.29% 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.88:1 (WCAG AA). The closest named color is Cardinal (#c41e3a), ΔE 5.91.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc3366 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1287 |
Shades
#ba2d4e mixed progressively with black.
Tints
#ba2d4e mixed progressively with white.
Tones
#ba2d4e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ba2d4e {
color: #ba2d4e;
}
.bg-ba2d4e {
background-color: #ba2d4e;
color: #ffffff;
}
.border-ba2d4e {
border: 2px solid #ba2d4e;
}
:root {
--color-primary: #ba2d4e;
--color-primary-rgb: 186 45 78;
--color-primary-hsl: 346 61% 45%;
}
.gradient-ba2d4e {
background: linear-gradient(135deg, #ba2d4e, #ba522d);
}
.shadow-ba2d4e {
box-shadow: 0 8px 24px rgb(186 45 78 / 0.35);
}
Cardinal
#ba2d4e rgb(186, 45, 78) hsl(346, 61%, 45%) Cardinal
#2dba99 rgb(45, 186, 153) hsl(166, 61%, 45%) Mint
#4eba2d rgb(78, 186, 45) hsl(106, 61%, 45%) Kelly Green
#2d4eba rgb(45, 78, 186) hsl(226, 61%, 45%) Sapphire