#db0f8a ≈ Medium Violet Red
#db0f8a is a color from the rose family, with medium lightness and vivid saturation. In the RGB model it is made of 85.88% red, 5.88% green and 54.12% blue; printed in CMYK it uses 0% cyan, 93.15% magenta, 36.99% yellow and 14.12% black. Its hue angle is 323.82°, with 87.18% saturation and 45.88% 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.72:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 4.15.
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.1724 |
Shades
#db0f8a mixed progressively with black.
Tints
#db0f8a mixed progressively with white.
Tones
#db0f8a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-db0f8a {
color: #db0f8a;
}
.bg-db0f8a {
background-color: #db0f8a;
color: #ffffff;
}
.border-db0f8a {
border: 2px solid #db0f8a;
}
:root {
--color-primary: #db0f8a;
--color-primary-rgb: 219 15 138;
--color-primary-hsl: 324 87% 46%;
}
.gradient-db0f8a {
background: linear-gradient(135deg, #db0f8a, #db0f24);
}
.shadow-db0f8a {
box-shadow: 0 8px 24px rgb(219 15 138 / 0.35);
}
Medium Violet Red
#db0f8a rgb(219, 15, 138) hsl(324, 87%, 46%) Medium Violet Red
#0fdb60 rgb(15, 219, 96) hsl(144, 87%, 46%) Malachite
#8adb0f rgb(138, 219, 15) hsl(84, 87%, 46%) Yellow Green
#0f8adb rgb(15, 138, 219) hsl(204, 87%, 46%) Bleu de France