#ec042f ≈ Cadmium Red
#ec042f is a color from the red family, with medium lightness and vivid saturation. In the RGB model it is made of 92.55% red, 1.57% green and 18.43% blue; printed in CMYK it uses 0% cyan, 98.31% magenta, 80.08% yellow and 7.45% black. Its hue angle is 348.88°, with 96.67% saturation and 47.06% lightness in HSL. It is a warm color, often associated with energy, passion and urgency. Designers typically use it for food and restaurant brands, sales and promotions and call-to-action buttons. Black text on this color reaches a contrast ratio of 4.62:1 (WCAG AA). The closest named color is Cadmium Red (#e30022), ΔE 3.12.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ff0033 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1812 |
Shades
#ec042f mixed progressively with black.
Tints
#ec042f mixed progressively with white.
Tones
#ec042f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ec042f {
color: #ec042f;
}
.bg-ec042f {
background-color: #ec042f;
color: #000000;
}
.border-ec042f {
border: 2px solid #ec042f;
}
:root {
--color-primary: #ec042f;
--color-primary-rgb: 236 4 47;
--color-primary-hsl: 349 97% 47%;
}
.gradient-ec042f {
background: linear-gradient(135deg, #ec042f, #ec4d04);
}
.shadow-ec042f {
box-shadow: 0 8px 24px rgb(236 4 47 / 0.35);
}
Cadmium Red
#ec042f rgb(236, 4, 47) hsl(349, 97%, 47%) Cadmium Red
#04ecc1 rgb(4, 236, 193) hsl(169, 97%, 47%) Aquamarine
#2fec04 rgb(47, 236, 4) hsl(109, 97%, 47%) Lime
#042fec rgb(4, 47, 236) hsl(229, 97%, 47%) Blue