#ef045f ≈ Raspberry
#ef045f is a color from the rose family, with medium lightness and vivid saturation. In the RGB model it is made of 93.73% red, 1.57% green and 37.25% blue; printed in CMYK it uses 0% cyan, 98.33% magenta, 60.25% yellow and 6.27% black. Its hue angle is 336.77°, with 96.71% saturation and 47.65% 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.85:1 (WCAG AA). The closest named color is Raspberry (#e30b5c), ΔE 2.48.
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.1926 |
Shades
#ef045f mixed progressively with black.
Tints
#ef045f mixed progressively with white.
Tones
#ef045f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ef045f {
color: #ef045f;
}
.bg-ef045f {
background-color: #ef045f;
color: #000000;
}
.border-ef045f {
border: 2px solid #ef045f;
}
:root {
--color-primary: #ef045f;
--color-primary-rgb: 239 4 95;
--color-primary-hsl: 337 97% 48%;
}
.gradient-ef045f {
background: linear-gradient(135deg, #ef045f, #ef1f04);
}
.shadow-ef045f {
box-shadow: 0 8px 24px rgb(239 4 95 / 0.35);
}
Raspberry
#ef045f rgb(239, 4, 95) hsl(337, 97%, 48%) Raspberry
#04ef94 rgb(4, 239, 148) hsl(157, 97%, 48%) Medium Spring Green
#5fef04 rgb(95, 239, 4) hsl(97, 97%, 48%) Lawn Green
#045fef rgb(4, 95, 239) hsl(217, 97%, 48%) Royal Blue