#dc02a2 ≈ Medium Violet Red
#dc02a2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 86.27% red, 0.78% green and 63.53% blue; printed in CMYK it uses 0% cyan, 99.09% magenta, 26.36% yellow and 13.73% black. Its hue angle is 315.96°, with 98.2% saturation and 43.53% 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.59:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 5.83.
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.1787 |
Shades
#dc02a2 mixed progressively with black.
Tints
#dc02a2 mixed progressively with white.
Tones
#dc02a2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dc02a2 {
color: #dc02a2;
}
.bg-dc02a2 {
background-color: #dc02a2;
color: #ffffff;
}
.border-dc02a2 {
border: 2px solid #dc02a2;
}
:root {
--color-primary: #dc02a2;
--color-primary-rgb: 220 2 162;
--color-primary-hsl: 316 98% 44%;
}
.gradient-dc02a2 {
background: linear-gradient(135deg, #dc02a2, #dc0235);
}
.shadow-dc02a2 {
box-shadow: 0 8px 24px rgb(220 2 162 / 0.35);
}
Medium Violet Red
#dc02a2 rgb(220, 2, 162) hsl(316, 98%, 44%) Medium Violet Red
#02dc3c rgb(2, 220, 60) hsl(136, 98%, 44%) Malachite
#a2dc02 rgb(162, 220, 2) hsl(76, 98%, 44%) Yellow Green
#02a2dc rgb(2, 162, 220) hsl(196, 98%, 44%) Carolina Blue