#db0fa2 ≈ Medium Violet Red
#db0fa2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 85.88% red, 5.88% green and 63.53% blue; printed in CMYK it uses 0% cyan, 93.15% magenta, 26.03% yellow and 14.12% black. Its hue angle is 316.76°, with 87.18% saturation and 45.88% 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. Black text on this color reaches a contrast ratio of 4.6:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 5.88.
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.1801 |
Shades
#db0fa2 mixed progressively with black.
Tints
#db0fa2 mixed progressively with white.
Tones
#db0fa2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-db0fa2 {
color: #db0fa2;
}
.bg-db0fa2 {
background-color: #db0fa2;
color: #000000;
}
.border-db0fa2 {
border: 2px solid #db0fa2;
}
:root {
--color-primary: #db0fa2;
--color-primary-rgb: 219 15 162;
--color-primary-hsl: 317 87% 46%;
}
.gradient-db0fa2 {
background: linear-gradient(135deg, #db0fa2, #db0f3c);
}
.shadow-db0fa2 {
box-shadow: 0 8px 24px rgb(219 15 162 / 0.35);
}
Medium Violet Red
#db0fa2 rgb(219, 15, 162) hsl(317, 87%, 46%) Medium Violet Red
#0fdb48 rgb(15, 219, 72) hsl(137, 87%, 46%) Malachite
#a2db0f rgb(162, 219, 15) hsl(77, 87%, 46%) Yellow Green
#0fa2db rgb(15, 162, 219) hsl(197, 87%, 46%) Carolina Blue