#ba2f4d ≈ Cardinal
#ba2f4d 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.2% blue; printed in CMYK it uses 0% cyan, 74.73% magenta, 58.6% yellow and 27.06% black. Its hue angle is 347.05°, 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.43.
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.1301 |
Shades
#ba2f4d mixed progressively with black.
Tints
#ba2f4d mixed progressively with white.
Tones
#ba2f4d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ba2f4d {
color: #ba2f4d;
}
.bg-ba2f4d {
background-color: #ba2f4d;
color: #ffffff;
}
.border-ba2f4d {
border: 2px solid #ba2f4d;
}
:root {
--color-primary: #ba2f4d;
--color-primary-rgb: 186 47 77;
--color-primary-hsl: 347 60% 46%;
}
.gradient-ba2f4d {
background: linear-gradient(135deg, #ba2f4d, #ba572f);
}
.shadow-ba2f4d {
box-shadow: 0 8px 24px rgb(186 47 77 / 0.35);
}
Cardinal
#ba2f4d rgb(186, 47, 77) hsl(347, 60%, 46%) Cardinal
#2fba9c rgb(47, 186, 156) hsl(167, 60%, 46%) Mint
#4dba2f rgb(77, 186, 47) hsl(107, 60%, 46%) Kelly Green
#2f4dba rgb(47, 77, 186) hsl(227, 60%, 46%) Sapphire