#e31258 ≈ Raspberry
#e31258 is a color from the rose family, with medium lightness and vivid saturation. In the RGB model it is made of 89.02% red, 7.06% green and 34.51% blue; printed in CMYK it uses 0% cyan, 92.07% magenta, 61.23% yellow and 10.98% black. Its hue angle is 339.9°, with 85.31% saturation and 48.04% 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. White text on this color reaches a contrast ratio of 4.67:1 (WCAG AA). The closest named color is Raspberry (#e30b5c), ΔE 1.27.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc0066 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1747 |
Shades
#e31258 mixed progressively with black.
Tints
#e31258 mixed progressively with white.
Tones
#e31258 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-e31258 {
color: #e31258;
}
.bg-e31258 {
background-color: #e31258;
color: #ffffff;
}
.border-e31258 {
border: 2px solid #e31258;
}
:root {
--color-primary: #e31258;
--color-primary-rgb: 227 18 88;
--color-primary-hsl: 340 85% 48%;
}
.gradient-e31258 {
background: linear-gradient(135deg, #e31258, #e33412);
}
.shadow-e31258 {
box-shadow: 0 8px 24px rgb(227 18 88 / 0.35);
}
Raspberry
#e31258 rgb(227, 18, 88) hsl(340, 85%, 48%) Raspberry
#12e39d rgb(18, 227, 157) hsl(160, 85%, 48%) Medium Spring Green
#58e312 rgb(88, 227, 18) hsl(100, 85%, 48%) Harlequin
#1258e3 rgb(18, 88, 227) hsl(220, 85%, 48%) Sapphire