#af2d38 ≈ Cardinal
#af2d38 is a color from the red family, with medium lightness and strong saturation. In the RGB model it is made of 68.63% red, 17.65% green and 21.96% blue; printed in CMYK it uses 0% cyan, 74.29% magenta, 68% yellow and 31.37% black. Its hue angle is 354.92°, with 59.09% saturation and 43.14% 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.45:1 (WCAG AA). The closest named color is Cardinal (#c41e3a), ΔE 3.78.
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.1128 |
Shades
#af2d38 mixed progressively with black.
Tints
#af2d38 mixed progressively with white.
Tones
#af2d38 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-af2d38 {
color: #af2d38;
}
.bg-af2d38 {
background-color: #af2d38;
color: #ffffff;
}
.border-af2d38 {
border: 2px solid #af2d38;
}
:root {
--color-primary: #af2d38;
--color-primary-rgb: 175 45 56;
--color-primary-hsl: 355 59% 43%;
}
.gradient-af2d38 {
background: linear-gradient(135deg, #af2d38, #af632d);
}
.shadow-af2d38 {
box-shadow: 0 8px 24px rgb(175 45 56 / 0.35);
}
Cardinal
#af2d38 rgb(175, 45, 56) hsl(355, 59%, 43%) Cardinal
#2dafa4 rgb(45, 175, 164) hsl(175, 59%, 43%) Light Sea Green
#38af2d rgb(56, 175, 45) hsl(115, 59%, 43%) Kelly Green
#2d38af rgb(45, 56, 175) hsl(235, 59%, 43%) Persian Blue