#fec2a2 ≈ Apricot
#fec2a2 is a color from the orange family, with high lightness and moderate saturation. In the RGB model it is made of 99.61% red, 76.08% green and 63.53% blue; printed in CMYK it uses 0% cyan, 23.62% magenta, 36.22% yellow and 0.39% black. Its hue angle is 20.87°, with 97.87% saturation and 81.57% 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.45:1 (WCAG AAA). The closest named color is Apricot (#fbceb1), ΔE 4.17.
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.6226 |
Shades
#fec2a2 mixed progressively with black.
Tints
#fec2a2 mixed progressively with white.
Tones
#fec2a2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-fec2a2 {
color: #fec2a2;
}
.bg-fec2a2 {
background-color: #fec2a2;
color: #000000;
}
.border-fec2a2 {
border: 2px solid #fec2a2;
}
:root {
--color-primary: #fec2a2;
--color-primary-rgb: 254 194 162;
--color-primary-hsl: 21 98% 82%;
}
.gradient-fec2a2 {
background: linear-gradient(135deg, #fec2a2, #fef0a2);
}
.shadow-fec2a2 {
box-shadow: 0 8px 24px rgb(254 194 162 / 0.35);
}
Apricot
#fec2a2 rgb(254, 194, 162) hsl(21, 98%, 82%) Apricot
#a2defe rgb(162, 222, 254) hsl(201, 98%, 82%) Baby Blue
#a2fec2 rgb(162, 254, 194) hsl(141, 98%, 82%) Aquamarine
#c2a2fe rgb(194, 162, 254) hsl(261, 98%, 82%) Mauve