#ab404c ≈ Cardinal
#ab404c is a color from the red family, with medium lightness and moderate saturation. In the RGB model it is made of 67.06% red, 25.1% green and 29.8% blue; printed in CMYK it uses 0% cyan, 62.57% magenta, 55.56% yellow and 32.94% black. Its hue angle is 353.27°, with 45.53% saturation and 46.08% 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.88:1 (WCAG AA). The closest named color is Cardinal (#c41e3a), ΔE 6.4.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #993333 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1285 |
Shades
#ab404c mixed progressively with black.
Tints
#ab404c mixed progressively with white.
Tones
#ab404c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ab404c {
color: #ab404c;
}
.bg-ab404c {
background-color: #ab404c;
color: #ffffff;
}
.border-ab404c {
border: 2px solid #ab404c;
}
:root {
--color-primary: #ab404c;
--color-primary-rgb: 171 64 76;
--color-primary-hsl: 353 46% 46%;
}
.gradient-ab404c {
background: linear-gradient(135deg, #ab404c, #ab6a40);
}
.shadow-ab404c {
box-shadow: 0 8px 24px rgb(171 64 76 / 0.35);
}
Cardinal
#ab404c rgb(171, 64, 76) hsl(353, 46%, 46%) Cardinal
#40ab9f rgb(64, 171, 159) hsl(173, 46%, 46%) Light Sea Green
#4cab40 rgb(76, 171, 64) hsl(113, 46%, 46%) Kelly Green
#404cab rgb(64, 76, 171) hsl(233, 46%, 46%) Ocean Blue