#db158a ≈ Medium Violet Red
#db158a is a color from the rose family, with medium lightness and vivid saturation. In the RGB model it is made of 85.88% red, 8.24% green and 54.12% blue; printed in CMYK it uses 0% cyan, 90.41% magenta, 36.99% yellow and 14.12% black. Its hue angle is 324.55°, with 82.5% saturation and 47.06% 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.68:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 4.36.
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.1743 |
Shades
#db158a mixed progressively with black.
Tints
#db158a mixed progressively with white.
Tones
#db158a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-db158a {
color: #db158a;
}
.bg-db158a {
background-color: #db158a;
color: #ffffff;
}
.border-db158a {
border: 2px solid #db158a;
}
:root {
--color-primary: #db158a;
--color-primary-rgb: 219 21 138;
--color-primary-hsl: 325 83% 47%;
}
.gradient-db158a {
background: linear-gradient(135deg, #db158a, #db1527);
}
.shadow-db158a {
box-shadow: 0 8px 24px rgb(219 21 138 / 0.35);
}
Medium Violet Red
#db158a rgb(219, 21, 138) hsl(325, 83%, 47%) Medium Violet Red
#15db66 rgb(21, 219, 102) hsl(145, 83%, 47%) Malachite
#8adb15 rgb(138, 219, 21) hsl(85, 83%, 47%) Yellow Green
#158adb rgb(21, 138, 219) hsl(205, 83%, 47%) Bleu de France