#b7123b ≈ Cardinal
#b7123b is a color from the red family, with low lightness and strong saturation. In the RGB model it is made of 71.76% red, 7.06% green and 23.14% blue; printed in CMYK it uses 0% cyan, 90.16% magenta, 67.76% yellow and 28.24% black. Its hue angle is 345.09°, with 82.09% saturation and 39.41% 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.64:1 (WCAG AA). The closest named color is Cardinal (#c41e3a), ΔE 3.99.
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.1082 |
Shades
#b7123b mixed progressively with black.
Tints
#b7123b mixed progressively with white.
Tones
#b7123b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b7123b {
color: #b7123b;
}
.bg-b7123b {
background-color: #b7123b;
color: #ffffff;
}
.border-b7123b {
border: 2px solid #b7123b;
}
:root {
--color-primary: #b7123b;
--color-primary-rgb: 183 18 59;
--color-primary-hsl: 345 82% 39%;
}
.gradient-b7123b {
background: linear-gradient(135deg, #b7123b, #b73b12);
}
.shadow-b7123b {
box-shadow: 0 8px 24px rgb(183 18 59 / 0.35);
}
Cardinal
#b7123b rgb(183, 18, 59) hsl(345, 82%, 39%) Cardinal
#12b78e rgb(18, 183, 142) hsl(165, 82%, 39%) Mint
#3bb712 rgb(59, 183, 18) hsl(105, 82%, 39%) Kelly Green
#123bb7 rgb(18, 59, 183) hsl(225, 82%, 39%) Persian Blue