#d31b4e ≈ Raspberry
#d31b4e 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.59% green and 30.59% blue; printed in CMYK it uses 0% cyan, 87.2% magenta, 63.03% yellow and 17.25% black. Its hue angle is 343.37°, with 77.31% saturation and 46.67% 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.2:1 (WCAG AA). The closest named color is Raspberry (#e30b5c), ΔE 4.05.
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.1518 |
Shades
#d31b4e mixed progressively with black.
Tints
#d31b4e mixed progressively with white.
Tones
#d31b4e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d31b4e {
color: #d31b4e;
}
.bg-d31b4e {
background-color: #d31b4e;
color: #ffffff;
}
.border-d31b4e {
border: 2px solid #d31b4e;
}
:root {
--color-primary: #d31b4e;
--color-primary-rgb: 211 27 78;
--color-primary-hsl: 343 77% 47%;
}
.gradient-d31b4e {
background: linear-gradient(135deg, #d31b4e, #d3441b);
}
.shadow-d31b4e {
box-shadow: 0 8px 24px rgb(211 27 78 / 0.35);
}
Raspberry
#d31b4e rgb(211, 27, 78) hsl(343, 77%, 47%) Raspberry
#1bd3a0 rgb(27, 211, 160) hsl(163, 77%, 47%) Caribbean Green
#4ed31b rgb(78, 211, 27) hsl(103, 77%, 47%) Lime Green
#1b4ed3 rgb(27, 78, 211) hsl(223, 77%, 47%) Sapphire