#a1997f ≈ Ecru
#a1997f is a color from the yellow family, with medium lightness and muted saturation. In the RGB model it is made of 63.14% red, 60% green and 49.8% blue; printed in CMYK it uses 0% cyan, 4.97% magenta, 21.12% yellow and 36.86% black. Its hue angle is 45.88°, with 15.32% saturation and 56.47% 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 7.38:1 (WCAG AAA). The closest named color is Ecru (#c2b280), ΔE 10.06.
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.3189 |
Shades
#a1997f mixed progressively with black.
Tints
#a1997f mixed progressively with white.
Tones
#a1997f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-a1997f {
color: #a1997f;
}
.bg-a1997f {
background-color: #a1997f;
color: #000000;
}
.border-a1997f {
border: 2px solid #a1997f;
}
:root {
--color-primary: #a1997f;
--color-primary-rgb: 161 153 127;
--color-primary-hsl: 46 15% 56%;
}
.gradient-a1997f {
background: linear-gradient(135deg, #a1997f, #98a17f);
}
.shadow-a1997f {
box-shadow: 0 8px 24px rgb(161 153 127 / 0.35);
}
Ecru
#a1997f rgb(161, 153, 127) hsl(46, 15%, 56%) Ecru
#7f87a1 rgb(127, 135, 161) hsl(226, 15%, 56%) Cool Gray
#7fa199 rgb(127, 161, 153) hsl(166, 15%, 56%) Cadet Blue
#997fa1 rgb(153, 127, 161) hsl(286, 15%, 56%) Mountbatten Pink