#ffc7a2 ≈ Apricot
#ffc7a2 is a color from the orange family, with high lightness and moderate saturation. In the RGB model it is made of 100% red, 78.04% green and 63.53% blue; printed in CMYK it uses 0% cyan, 21.96% magenta, 36.47% yellow and 0% black. Its hue angle is 23.87°, with 100% saturation and 81.76% lightness in HSL. It is a warm color, often associated with enthusiasm, warmth and creativity. Designers typically use it for call-to-action buttons, food and restaurant brands and soft pastel palettes. Black text on this color reaches a contrast ratio of 13.94:1 (WCAG AAA). The closest named color is Apricot (#fbceb1), ΔE 3.23.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ffcc99 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.6472 |
Shades
#ffc7a2 mixed progressively with black.
Tints
#ffc7a2 mixed progressively with white.
Tones
#ffc7a2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ffc7a2 {
color: #ffc7a2;
}
.bg-ffc7a2 {
background-color: #ffc7a2;
color: #000000;
}
.border-ffc7a2 {
border: 2px solid #ffc7a2;
}
:root {
--color-primary: #ffc7a2;
--color-primary-rgb: 255 199 162;
--color-primary-hsl: 24 100% 82%;
}
.gradient-ffc7a2 {
background: linear-gradient(135deg, #ffc7a2, #fff5a2);
}
.shadow-ffc7a2 {
box-shadow: 0 8px 24px rgb(255 199 162 / 0.35);
}
Apricot
#ffc7a2 rgb(255, 199, 162) hsl(24, 100%, 82%) Apricot
#a2daff rgb(162, 218, 255) hsl(204, 100%, 82%) Light Sky Blue
#a2ffc7 rgb(162, 255, 199) hsl(144, 100%, 82%) Aquamarine
#c7a2ff rgb(199, 162, 255) hsl(264, 100%, 82%) Mauve