#afa07a ≈ Ecru
#afa07a is a color from the yellow family, with medium lightness and muted saturation. In the RGB model it is made of 68.63% red, 62.75% green and 47.84% blue; printed in CMYK it uses 0% cyan, 8.57% magenta, 30.29% yellow and 31.37% black. Its hue angle is 43.02°, with 24.88% saturation and 58.24% lightness in HSL. It is a warm color, often associated with optimism, attention and joy. Designers typically use it for highlights and warnings, children's products and brand accents. Black text on this color reaches a contrast ratio of 8.13:1 (WCAG AAA). The closest named color is Ecru (#c2b280), ΔE 5.89.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #999966 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.3566 |
Shades
#afa07a mixed progressively with black.
Tints
#afa07a mixed progressively with white.
Tones
#afa07a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-afa07a {
color: #afa07a;
}
.bg-afa07a {
background-color: #afa07a;
color: #000000;
}
.border-afa07a {
border: 2px solid #afa07a;
}
:root {
--color-primary: #afa07a;
--color-primary-rgb: 175 160 122;
--color-primary-hsl: 43 25% 58%;
}
.gradient-afa07a {
background: linear-gradient(135deg, #afa07a, #a4af7a);
}
.shadow-afa07a {
box-shadow: 0 8px 24px rgb(175 160 122 / 0.35);
}
Ecru
#afa07a rgb(175, 160, 122) hsl(43, 25%, 58%) Ecru
#7a89af rgb(122, 137, 175) hsl(223, 25%, 58%) Cool Gray
#7aafa0 rgb(122, 175, 160) hsl(163, 25%, 58%) Verdigris
#a07aaf rgb(160, 122, 175) hsl(283, 25%, 58%) Purple Mountain Majesty