#db0798 ≈ Medium Violet Red
#db0798 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 85.88% red, 2.75% green and 59.61% blue; printed in CMYK it uses 0% cyan, 96.8% magenta, 30.59% yellow and 14.12% black. Its hue angle is 318.96°, with 93.81% saturation and 44.31% lightness in HSL. It sits between warm and cool, and is often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and call-to-action buttons. White text on this color reaches a contrast ratio of 4.67:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 4.57.
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.1748 |
Shades
#db0798 mixed progressively with black.
Tints
#db0798 mixed progressively with white.
Tones
#db0798 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-db0798 {
color: #db0798;
}
.bg-db0798 {
background-color: #db0798;
color: #ffffff;
}
.border-db0798 {
border: 2px solid #db0798;
}
:root {
--color-primary: #db0798;
--color-primary-rgb: 219 7 152;
--color-primary-hsl: 319 94% 44%;
}
.gradient-db0798 {
background: linear-gradient(135deg, #db0798, #db072e);
}
.shadow-db0798 {
box-shadow: 0 8px 24px rgb(219 7 152 / 0.35);
}
Medium Violet Red
#db0798 rgb(219, 7, 152) hsl(319, 94%, 44%) Medium Violet Red
#07db4a rgb(7, 219, 74) hsl(139, 94%, 44%) Malachite
#98db07 rgb(152, 219, 7) hsl(79, 94%, 44%) Yellow Green
#0798db rgb(7, 152, 219) hsl(199, 94%, 44%) Carolina Blue