#ba1237 ≈ Cardinal
#ba1237 is a color from the red family, with medium lightness and strong saturation. In the RGB model it is made of 72.94% red, 7.06% green and 21.57% blue; printed in CMYK it uses 0% cyan, 90.32% magenta, 70.43% yellow and 27.06% black. Its hue angle is 346.79°, with 82.35% saturation and 40% 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.5:1 (WCAG AA). The closest named color is Cardinal (#c41e3a), ΔE 2.76.
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.1115 |
Shades
#ba1237 mixed progressively with black.
Tints
#ba1237 mixed progressively with white.
Tones
#ba1237 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ba1237 {
color: #ba1237;
}
.bg-ba1237 {
background-color: #ba1237;
color: #ffffff;
}
.border-ba1237 {
border: 2px solid #ba1237;
}
:root {
--color-primary: #ba1237;
--color-primary-rgb: 186 18 55;
--color-primary-hsl: 347 82% 40%;
}
.gradient-ba1237 {
background: linear-gradient(135deg, #ba1237, #ba4112);
}
.shadow-ba1237 {
box-shadow: 0 8px 24px rgb(186 18 55 / 0.35);
}
Cardinal
#ba1237 rgb(186, 18, 55) hsl(347, 82%, 40%) Cardinal
#12ba95 rgb(18, 186, 149) hsl(167, 82%, 40%) Mint
#37ba12 rgb(55, 186, 18) hsl(107, 82%, 40%) Kelly Green
#1237ba rgb(18, 55, 186) hsl(227, 82%, 40%) Persian Blue