#d2178b ≈ Medium Violet Red
#d2178b is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 82.35% red, 9.02% green and 54.51% blue; printed in CMYK it uses 0% cyan, 89.05% magenta, 33.81% yellow and 17.65% black. Its hue angle is 322.78°, with 80.26% saturation and 45.69% lightness in HSL. It sits between warm and cool, and is 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.96:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 2.45.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc0099 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1618 |
Shades
#d2178b mixed progressively with black.
Tints
#d2178b mixed progressively with white.
Tones
#d2178b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d2178b {
color: #d2178b;
}
.bg-d2178b {
background-color: #d2178b;
color: #ffffff;
}
.border-d2178b {
border: 2px solid #d2178b;
}
:root {
--color-primary: #d2178b;
--color-primary-rgb: 210 23 139;
--color-primary-hsl: 323 80% 46%;
}
.gradient-d2178b {
background: linear-gradient(135deg, #d2178b, #d2172e);
}
.shadow-d2178b {
box-shadow: 0 8px 24px rgb(210 23 139 / 0.35);
}
Medium Violet Red
#d2178b rgb(210, 23, 139) hsl(323, 80%, 46%) Medium Violet Red
#17d25e rgb(23, 210, 94) hsl(143, 80%, 46%) Malachite
#8bd217 rgb(139, 210, 23) hsl(83, 80%, 46%) Yellow Green
#178bd2 rgb(23, 139, 210) hsl(203, 80%, 46%) Bleu de France