#db0ca2 ≈ Medium Violet Red
#db0ca2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 85.88% red, 4.71% green and 63.53% blue; printed in CMYK it uses 0% cyan, 94.52% magenta, 26.03% yellow and 14.12% black. Its hue angle is 316.52°, with 89.61% saturation and 45.29% 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.59:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 5.84.
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.1793 |
Shades
#db0ca2 mixed progressively with black.
Tints
#db0ca2 mixed progressively with white.
Tones
#db0ca2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-db0ca2 {
color: #db0ca2;
}
.bg-db0ca2 {
background-color: #db0ca2;
color: #000000;
}
.border-db0ca2 {
border: 2px solid #db0ca2;
}
:root {
--color-primary: #db0ca2;
--color-primary-rgb: 219 12 162;
--color-primary-hsl: 317 90% 45%;
}
.gradient-db0ca2 {
background: linear-gradient(135deg, #db0ca2, #db0c3b);
}
.shadow-db0ca2 {
box-shadow: 0 8px 24px rgb(219 12 162 / 0.35);
}
Medium Violet Red
#db0ca2 rgb(219, 12, 162) hsl(317, 90%, 45%) Medium Violet Red
#0cdb45 rgb(12, 219, 69) hsl(137, 90%, 45%) Malachite
#a2db0c rgb(162, 219, 12) hsl(77, 90%, 45%) Yellow Green
#0ca2db rgb(12, 162, 219) hsl(197, 90%, 45%) Carolina Blue