#ec791f ≈ Pumpkin
#ec791f is a color from the orange family, with medium lightness and vivid saturation. In the RGB model it is made of 92.55% red, 47.45% green and 12.16% blue; printed in CMYK it uses 0% cyan, 48.73% magenta, 86.86% yellow and 7.45% black. Its hue angle is 26.34°, with 84.36% saturation and 52.35% lightness in HSL. It is a warm color, often associated with enthusiasm, warmth and creativity. Designers typically use it for call-to-action buttons and food and restaurant brands. Black text on this color reaches a contrast ratio of 7.32:1 (WCAG AAA). The closest named color is Pumpkin (#ff7518), ΔE 3.84.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ff6633 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.3161 |
Shades
#ec791f mixed progressively with black.
Tints
#ec791f mixed progressively with white.
Tones
#ec791f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ec791f {
color: #ec791f;
}
.bg-ec791f {
background-color: #ec791f;
color: #000000;
}
.border-ec791f {
border: 2px solid #ec791f;
}
:root {
--color-primary: #ec791f;
--color-primary-rgb: 236 121 31;
--color-primary-hsl: 26 84% 52%;
}
.gradient-ec791f {
background: linear-gradient(135deg, #ec791f, #ecdf1f);
}
.shadow-ec791f {
box-shadow: 0 8px 24px rgb(236 121 31 / 0.35);
}
Pumpkin
#ec791f rgb(236, 121, 31) hsl(26, 84%, 52%) Pumpkin
#1f92ec rgb(31, 146, 236) hsl(206, 84%, 52%) Bleu de France
#1fec79 rgb(31, 236, 121) hsl(146, 84%, 52%) Spring Green
#791fec rgb(121, 31, 236) hsl(266, 84%, 52%) Electric Indigo