#ec020c ≈ Lust
#ec020c is a color from the red family, with medium lightness and vivid saturation. In the RGB model it is made of 92.55% red, 0.78% green and 4.71% blue; printed in CMYK it uses 0% cyan, 99.15% magenta, 94.92% yellow and 7.45% black. Its hue angle is 357.44°, with 98.32% saturation and 46.67% 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.58:1 (WCAG AA). The closest named color is Lust (#e62020), ΔE 2.48.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ff0000 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.179 |
Shades
#ec020c mixed progressively with black.
Tints
#ec020c mixed progressively with white.
Tones
#ec020c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ec020c {
color: #ec020c;
}
.bg-ec020c {
background-color: #ec020c;
color: #000000;
}
.border-ec020c {
border: 2px solid #ec020c;
}
:root {
--color-primary: #ec020c;
--color-primary-rgb: 236 2 12;
--color-primary-hsl: 357 98% 47%;
}
.gradient-ec020c {
background: linear-gradient(135deg, #ec020c, #ec6d02);
}
.shadow-ec020c {
box-shadow: 0 8px 24px rgb(236 2 12 / 0.35);
}
Lust
#ec020c rgb(236, 2, 12) hsl(357, 98%, 47%) Lust
#02ece2 rgb(2, 236, 226) hsl(177, 98%, 47%) Bright Turquoise
#0cec02 rgb(12, 236, 2) hsl(117, 98%, 47%) Lime
#020cec rgb(2, 12, 236) hsl(237, 98%, 47%) Blue