#ec045d ≈ Raspberry
#ec045d is a color from the rose family, with medium lightness and vivid saturation. In the RGB model it is made of 92.55% red, 1.57% green and 36.47% blue; printed in CMYK it uses 0% cyan, 98.31% magenta, 60.59% yellow and 7.45% black. Its hue angle is 336.98°, with 96.67% saturation and 47.06% lightness in HSL. It is a warm color, often associated with romance, playfulness and affection. 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.74:1 (WCAG AA). The closest named color is Raspberry (#e30b5c), ΔE 1.87.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ff0066 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1871 |
Shades
#ec045d mixed progressively with black.
Tints
#ec045d mixed progressively with white.
Tones
#ec045d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ec045d {
color: #ec045d;
}
.bg-ec045d {
background-color: #ec045d;
color: #000000;
}
.border-ec045d {
border: 2px solid #ec045d;
}
:root {
--color-primary: #ec045d;
--color-primary-rgb: 236 4 93;
--color-primary-hsl: 337 97% 47%;
}
.gradient-ec045d {
background: linear-gradient(135deg, #ec045d, #ec1f04);
}
.shadow-ec045d {
box-shadow: 0 8px 24px rgb(236 4 93 / 0.35);
}
Raspberry
#ec045d rgb(236, 4, 93) hsl(337, 97%, 47%) Raspberry
#04ec93 rgb(4, 236, 147) hsl(157, 97%, 47%) Medium Spring Green
#5dec04 rgb(93, 236, 4) hsl(97, 97%, 47%) Harlequin
#045dec rgb(4, 93, 236) hsl(217, 97%, 47%) Royal Blue