#db02a5 ≈ Medium Violet Red
#db02a5 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 85.88% red, 0.78% green and 64.71% blue; printed in CMYK it uses 0% cyan, 99.09% magenta, 24.66% yellow and 14.12% black. Its hue angle is 314.93°, with 98.19% saturation and 43.33% 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.6:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.16.
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.1782 |
Shades
#db02a5 mixed progressively with black.
Tints
#db02a5 mixed progressively with white.
Tones
#db02a5 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-db02a5 {
color: #db02a5;
}
.bg-db02a5 {
background-color: #db02a5;
color: #ffffff;
}
.border-db02a5 {
border: 2px solid #db02a5;
}
:root {
--color-primary: #db02a5;
--color-primary-rgb: 219 2 165;
--color-primary-hsl: 315 98% 43%;
}
.gradient-db02a5 {
background: linear-gradient(135deg, #db02a5, #db0238);
}
.shadow-db02a5 {
box-shadow: 0 8px 24px rgb(219 2 165 / 0.35);
}
Medium Violet Red
#db02a5 rgb(219, 2, 165) hsl(315, 98%, 43%) Medium Violet Red
#02db38 rgb(2, 219, 56) hsl(135, 98%, 43%) Malachite
#a5db02 rgb(165, 219, 2) hsl(75, 98%, 43%) Yellow Green
#02a5db rgb(2, 165, 219) hsl(195, 98%, 43%) Carolina Blue