#d31d4e ≈ Raspberry
#d31d4e is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 82.75% red, 11.37% green and 30.59% blue; printed in CMYK it uses 0% cyan, 86.26% magenta, 63.03% yellow and 17.25% black. Its hue angle is 343.85°, with 75.83% 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 brand accents. White text on this color reaches a contrast ratio of 5.18:1 (WCAG AA). The closest named color is Raspberry (#e30b5c), ΔE 4.08.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc3366 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1528 |
Shades
#d31d4e mixed progressively with black.
Tints
#d31d4e mixed progressively with white.
Tones
#d31d4e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d31d4e {
color: #d31d4e;
}
.bg-d31d4e {
background-color: #d31d4e;
color: #ffffff;
}
.border-d31d4e {
border: 2px solid #d31d4e;
}
:root {
--color-primary: #d31d4e;
--color-primary-rgb: 211 29 78;
--color-primary-hsl: 344 76% 47%;
}
.gradient-d31d4e {
background: linear-gradient(135deg, #d31d4e, #d3471d);
}
.shadow-d31d4e {
box-shadow: 0 8px 24px rgb(211 29 78 / 0.35);
}
Raspberry
#d31d4e rgb(211, 29, 78) hsl(344, 76%, 47%) Raspberry
#1dd3a2 rgb(29, 211, 162) hsl(164, 76%, 47%) Caribbean Green
#4ed31d rgb(78, 211, 29) hsl(104, 76%, 47%) Lime Green
#1d4ed3 rgb(29, 78, 211) hsl(224, 76%, 47%) Sapphire