#ba2f4e ≈ Cardinal
#ba2f4e is a color from the red family, with medium lightness and strong saturation. In the RGB model it is made of 72.94% red, 18.43% green and 30.59% blue; printed in CMYK it uses 0% cyan, 74.73% magenta, 58.06% yellow and 27.06% black. Its hue angle is 346.62°, with 59.66% saturation and 45.69% 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.83:1 (WCAG AA). The closest named color is Cardinal (#c41e3a), ΔE 5.73.
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.1302 |
Shades
#ba2f4e mixed progressively with black.
Tints
#ba2f4e mixed progressively with white.
Tones
#ba2f4e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ba2f4e {
color: #ba2f4e;
}
.bg-ba2f4e {
background-color: #ba2f4e;
color: #ffffff;
}
.border-ba2f4e {
border: 2px solid #ba2f4e;
}
:root {
--color-primary: #ba2f4e;
--color-primary-rgb: 186 47 78;
--color-primary-hsl: 347 60% 46%;
}
.gradient-ba2f4e {
background: linear-gradient(135deg, #ba2f4e, #ba562f);
}
.shadow-ba2f4e {
box-shadow: 0 8px 24px rgb(186 47 78 / 0.35);
}
Cardinal
#ba2f4e rgb(186, 47, 78) hsl(347, 60%, 46%) Cardinal
#2fba9b rgb(47, 186, 155) hsl(167, 60%, 46%) Mint
#4eba2f rgb(78, 186, 47) hsl(107, 60%, 46%) Kelly Green
#2f4eba rgb(47, 78, 186) hsl(227, 60%, 46%) Sapphire