#db048c ≈ Medium Violet Red
#db048c is a color from the rose family, with medium lightness and vivid saturation. In the RGB model it is made of 85.88% red, 1.57% green and 54.9% blue; printed in CMYK it uses 0% cyan, 98.17% magenta, 36.07% yellow and 14.12% black. Its hue angle is 322.05°, with 96.41% saturation and 43.73% 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.76:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 3.87.
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.1704 |
Shades
#db048c mixed progressively with black.
Tints
#db048c mixed progressively with white.
Tones
#db048c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-db048c {
color: #db048c;
}
.bg-db048c {
background-color: #db048c;
color: #ffffff;
}
.border-db048c {
border: 2px solid #db048c;
}
:root {
--color-primary: #db048c;
--color-primary-rgb: 219 4 140;
--color-primary-hsl: 322 96% 44%;
}
.gradient-db048c {
background: linear-gradient(135deg, #db048c, #db0420);
}
.shadow-db048c {
box-shadow: 0 8px 24px rgb(219 4 140 / 0.35);
}
Medium Violet Red
#db048c rgb(219, 4, 140) hsl(322, 96%, 44%) Medium Violet Red
#04db53 rgb(4, 219, 83) hsl(142, 96%, 44%) Malachite
#8cdb04 rgb(140, 219, 4) hsl(82, 96%, 44%) Yellow Green
#048cdb rgb(4, 140, 219) hsl(202, 96%, 44%) Bleu de France