#af172a ≈ Brown
#af172a is a color from the red family, with low lightness and strong saturation. In the RGB model it is made of 68.63% red, 9.02% green and 16.47% blue; printed in CMYK it uses 0% cyan, 86.86% magenta, 76% yellow and 31.37% black. Its hue angle is 352.5°, with 76.77% saturation and 38.82% 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 7.05:1 (WCAG AAA). The closest named color is Brown (#a52a2a), ΔE 2.84.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #990033 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0989 |
Shades
#af172a mixed progressively with black.
Tints
#af172a mixed progressively with white.
Tones
#af172a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-af172a {
color: #af172a;
}
.bg-af172a {
background-color: #af172a;
color: #ffffff;
}
.border-af172a {
border: 2px solid #af172a;
}
:root {
--color-primary: #af172a;
--color-primary-rgb: 175 23 42;
--color-primary-hsl: 353 77% 39%;
}
.gradient-af172a {
background: linear-gradient(135deg, #af172a, #af5017);
}
.shadow-af172a {
box-shadow: 0 8px 24px rgb(175 23 42 / 0.35);
}
Brown
#af172a rgb(175, 23, 42) hsl(353, 77%, 39%) Brown
#17af9c rgb(23, 175, 156) hsl(173, 77%, 39%) Persian Green
#2aaf17 rgb(42, 175, 23) hsl(113, 77%, 39%) Kelly Green
#172aaf rgb(23, 42, 175) hsl(233, 77%, 39%) Egyptian Blue