#db178e ≈ Medium Violet Red
#db178e is a color from the rose family, with medium lightness and vivid saturation. In the RGB model it is made of 85.88% red, 9.02% green and 55.69% blue; printed in CMYK it uses 0% cyan, 89.5% magenta, 35.16% yellow and 14.12% black. Its hue angle is 323.57°, with 80.99% saturation and 47.45% 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.64:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 4.39.
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.1763 |
Shades
#db178e mixed progressively with black.
Tints
#db178e mixed progressively with white.
Tones
#db178e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-db178e {
color: #db178e;
}
.bg-db178e {
background-color: #db178e;
color: #ffffff;
}
.border-db178e {
border: 2px solid #db178e;
}
:root {
--color-primary: #db178e;
--color-primary-rgb: 219 23 142;
--color-primary-hsl: 324 81% 47%;
}
.gradient-db178e {
background: linear-gradient(135deg, #db178e, #db172c);
}
.shadow-db178e {
box-shadow: 0 8px 24px rgb(219 23 142 / 0.35);
}
Medium Violet Red
#db178e rgb(219, 23, 142) hsl(324, 81%, 47%) Medium Violet Red
#17db64 rgb(23, 219, 100) hsl(144, 81%, 47%) Malachite
#8edb17 rgb(142, 219, 23) hsl(84, 81%, 47%) Yellow Green
#178edb rgb(23, 142, 219) hsl(204, 81%, 47%) Bleu de France