#af271c ≈ Cornell Red
#af271c is a color from the red family, with low lightness and strong saturation. In the RGB model it is made of 68.63% red, 15.29% green and 10.98% blue; printed in CMYK it uses 0% cyan, 77.71% magenta, 84% yellow and 31.37% black. Its hue angle is 4.49°, with 72.41% saturation and 39.8% 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.71:1 (WCAG AA). The closest named color is Cornell Red (#b31b1b), ΔE 1.6.
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.1065 |
Shades
#af271c mixed progressively with black.
Tints
#af271c mixed progressively with white.
Tones
#af271c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-af271c {
color: #af271c;
}
.bg-af271c {
background-color: #af271c;
color: #ffffff;
}
.border-af271c {
border: 2px solid #af271c;
}
:root {
--color-primary: #af271c;
--color-primary-rgb: 175 39 28;
--color-primary-hsl: 4 72% 40%;
}
.gradient-af271c {
background: linear-gradient(135deg, #af271c, #af701c);
}
.shadow-af271c {
box-shadow: 0 8px 24px rgb(175 39 28 / 0.35);
}
Cornell Red
#af271c rgb(175, 39, 28) hsl(4, 72%, 40%) Cornell Red
#1ca4af rgb(28, 164, 175) hsl(184, 72%, 40%) Cadet Blue
#1caf27 rgb(28, 175, 39) hsl(124, 72%, 40%) Kelly Green
#271caf rgb(39, 28, 175) hsl(244, 72%, 40%) Zaffre