#db178d ≈ Medium Violet Red
#db178d 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.29% blue; printed in CMYK it uses 0% cyan, 89.5% magenta, 35.62% yellow and 14.12% black. Its hue angle is 323.88°, 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.65: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.176 |
Shades
#db178d mixed progressively with black.
Tints
#db178d mixed progressively with white.
Tones
#db178d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-db178d {
color: #db178d;
}
.bg-db178d {
background-color: #db178d;
color: #ffffff;
}
.border-db178d {
border: 2px solid #db178d;
}
:root {
--color-primary: #db178d;
--color-primary-rgb: 219 23 141;
--color-primary-hsl: 324 81% 47%;
}
.gradient-db178d {
background: linear-gradient(135deg, #db178d, #db172b);
}
.shadow-db178d {
box-shadow: 0 8px 24px rgb(219 23 141 / 0.35);
}
Medium Violet Red
#db178d rgb(219, 23, 141) hsl(324, 81%, 47%) Medium Violet Red
#17db65 rgb(23, 219, 101) hsl(144, 81%, 47%) Malachite
#8ddb17 rgb(141, 219, 23) hsl(84, 81%, 47%) Yellow Green
#178ddb rgb(23, 141, 219) hsl(204, 81%, 47%) Bleu de France