#af040c ≈ Cornell Red
#af040c is a color from the red family, with low lightness and strong saturation. In the RGB model it is made of 68.63% red, 1.57% green and 4.71% blue; printed in CMYK it uses 0% cyan, 97.71% magenta, 93.14% yellow and 31.37% black. Its hue angle is 357.19°, with 95.53% saturation and 35.1% 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 7.38:1 (WCAG AAA). The closest named color is Cornell Red (#b31b1b), ΔE 2.61.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #990000 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0923 |
Shades
#af040c mixed progressively with black.
Tints
#af040c mixed progressively with white.
Tones
#af040c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-af040c {
color: #af040c;
}
.bg-af040c {
background-color: #af040c;
color: #ffffff;
}
.border-af040c {
border: 2px solid #af040c;
}
:root {
--color-primary: #af040c;
--color-primary-rgb: 175 4 12;
--color-primary-hsl: 357 96% 35%;
}
.gradient-af040c {
background: linear-gradient(135deg, #af040c, #af5104);
}
.shadow-af040c {
box-shadow: 0 8px 24px rgb(175 4 12 / 0.35);
}
Cornell Red
#af040c rgb(175, 4, 12) hsl(357, 96%, 35%) Cornell Red
#04afa7 rgb(4, 175, 167) hsl(177, 96%, 35%) Light Sea Green
#0caf04 rgb(12, 175, 4) hsl(117, 96%, 35%) Kelly Green
#040caf rgb(4, 12, 175) hsl(237, 96%, 35%) Zaffre