#d40451 ≈ Raspberry
#d40451 is a color from the rose family, with medium lightness and vivid saturation. In the RGB model it is made of 83.14% red, 1.57% green and 31.76% blue; printed in CMYK it uses 0% cyan, 98.11% magenta, 61.79% yellow and 16.86% black. Its hue angle is 337.79°, with 96.3% saturation and 42.35% 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 5.34:1 (WCAG AA). The closest named color is Raspberry (#e30b5c), ΔE 3.64.
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.1468 |
Shades
#d40451 mixed progressively with black.
Tints
#d40451 mixed progressively with white.
Tones
#d40451 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d40451 {
color: #d40451;
}
.bg-d40451 {
background-color: #d40451;
color: #ffffff;
}
.border-d40451 {
border: 2px solid #d40451;
}
:root {
--color-primary: #d40451;
--color-primary-rgb: 212 4 81;
--color-primary-hsl: 338 96% 42%;
}
.gradient-d40451 {
background: linear-gradient(135deg, #d40451, #d41f04);
}
.shadow-d40451 {
box-shadow: 0 8px 24px rgb(212 4 81 / 0.35);
}
Raspberry
#d40451 rgb(212, 4, 81) hsl(338, 96%, 42%) Raspberry
#04d487 rgb(4, 212, 135) hsl(158, 96%, 42%) Emerald
#51d404 rgb(81, 212, 4) hsl(98, 96%, 42%) Lime Green
#0451d4 rgb(4, 81, 212) hsl(218, 96%, 42%) Sapphire