#ec042c ≈ Cadmium Red
#ec042c 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 17.25% blue; printed in CMYK it uses 0% cyan, 98.31% magenta, 81.36% yellow and 7.45% black. Its hue angle is 349.66°, 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 2.63.
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.181 |
Shades
#ec042c mixed progressively with black.
Tints
#ec042c mixed progressively with white.
Tones
#ec042c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ec042c {
color: #ec042c;
}
.bg-ec042c {
background-color: #ec042c;
color: #000000;
}
.border-ec042c {
border: 2px solid #ec042c;
}
:root {
--color-primary: #ec042c;
--color-primary-rgb: 236 4 44;
--color-primary-hsl: 350 97% 47%;
}
.gradient-ec042c {
background: linear-gradient(135deg, #ec042c, #ec5004);
}
.shadow-ec042c {
box-shadow: 0 8px 24px rgb(236 4 44 / 0.35);
}
Cadmium Red
#ec042c rgb(236, 4, 44) hsl(350, 97%, 47%) Cadmium Red
#04ecc4 rgb(4, 236, 196) hsl(170, 97%, 47%) Aquamarine
#2cec04 rgb(44, 236, 4) hsl(110, 97%, 47%) Lime
#042cec rgb(4, 44, 236) hsl(230, 97%, 47%) Blue