#af2e40 ≈ Cardinal
#af2e40 is a color from the red family, with medium lightness and strong saturation. In the RGB model it is made of 68.63% red, 18.04% green and 25.1% blue; printed in CMYK it uses 0% cyan, 73.71% magenta, 63.43% yellow and 31.37% black. Its hue angle is 351.63°, with 58.37% saturation and 43.33% 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 6.39:1 (WCAG AA). The closest named color is Cardinal (#c41e3a), ΔE 4.23.
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.1144 |
Shades
#af2e40 mixed progressively with black.
Tints
#af2e40 mixed progressively with white.
Tones
#af2e40 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-af2e40 {
color: #af2e40;
}
.bg-af2e40 {
background-color: #af2e40;
color: #ffffff;
}
.border-af2e40 {
border: 2px solid #af2e40;
}
:root {
--color-primary: #af2e40;
--color-primary-rgb: 175 46 64;
--color-primary-hsl: 352 58% 43%;
}
.gradient-af2e40 {
background: linear-gradient(135deg, #af2e40, #af5c2e);
}
.shadow-af2e40 {
box-shadow: 0 8px 24px rgb(175 46 64 / 0.35);
}
Cardinal
#af2e40 rgb(175, 46, 64) hsl(352, 58%, 43%) Cardinal
#2eaf9d rgb(46, 175, 157) hsl(172, 58%, 43%) Persian Green
#40af2e rgb(64, 175, 46) hsl(112, 58%, 43%) Kelly Green
#2e40af rgb(46, 64, 175) hsl(232, 58%, 43%) Persian Blue