#d31a4e ≈ Raspberry
#d31a4e is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 82.75% red, 10.2% green and 30.59% blue; printed in CMYK it uses 0% cyan, 87.68% magenta, 63.03% yellow and 17.25% black. Its hue angle is 343.14°, with 78.06% saturation and 46.47% 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.21:1 (WCAG AA). The closest named color is Raspberry (#e30b5c), ΔE 4.04.
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.1514 |
Shades
#d31a4e mixed progressively with black.
Tints
#d31a4e mixed progressively with white.
Tones
#d31a4e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d31a4e {
color: #d31a4e;
}
.bg-d31a4e {
background-color: #d31a4e;
color: #ffffff;
}
.border-d31a4e {
border: 2px solid #d31a4e;
}
:root {
--color-primary: #d31a4e;
--color-primary-rgb: 211 26 78;
--color-primary-hsl: 343 78% 46%;
}
.gradient-d31a4e {
background: linear-gradient(135deg, #d31a4e, #d3431a);
}
.shadow-d31a4e {
box-shadow: 0 8px 24px rgb(211 26 78 / 0.35);
}
Raspberry
#d31a4e rgb(211, 26, 78) hsl(343, 78%, 46%) Raspberry
#1ad39f rgb(26, 211, 159) hsl(163, 78%, 46%) Caribbean Green
#4ed31a rgb(78, 211, 26) hsl(103, 78%, 46%) Lime Green
#1a4ed3 rgb(26, 78, 211) hsl(223, 78%, 46%) Sapphire