#ba2d3b ≈ Cardinal
#ba2d3b 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 23.14% blue; printed in CMYK it uses 0% cyan, 75.81% magenta, 68.28% yellow and 27.06% black. Its hue angle is 354.04°, 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.96:1 (WCAG AA). The closest named color is Cardinal (#c41e3a), ΔE 1.97.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc3333 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1263 |
Shades
#ba2d3b mixed progressively with black.
Tints
#ba2d3b mixed progressively with white.
Tones
#ba2d3b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ba2d3b {
color: #ba2d3b;
}
.bg-ba2d3b {
background-color: #ba2d3b;
color: #ffffff;
}
.border-ba2d3b {
border: 2px solid #ba2d3b;
}
:root {
--color-primary: #ba2d3b;
--color-primary-rgb: 186 45 59;
--color-primary-hsl: 354 61% 45%;
}
.gradient-ba2d3b {
background: linear-gradient(135deg, #ba2d3b, #ba652d);
}
.shadow-ba2d3b {
box-shadow: 0 8px 24px rgb(186 45 59 / 0.35);
}
Cardinal
#ba2d3b rgb(186, 45, 59) hsl(354, 61%, 45%) Cardinal
#2dbaac rgb(45, 186, 172) hsl(174, 61%, 45%) Light Sea Green
#3bba2d rgb(59, 186, 45) hsl(114, 61%, 45%) Kelly Green
#2d3bba rgb(45, 59, 186) hsl(234, 61%, 45%) Persian Blue