#cd02a0 ≈ Medium Violet Red
#cd02a0 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80.39% red, 0.78% green and 62.75% blue; printed in CMYK it uses 0% cyan, 99.02% magenta, 21.95% yellow and 19.61% black. Its hue angle is 313.3°, with 98.07% saturation and 40.59% 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 5.11:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 5.04.
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.1556 |
Shades
#cd02a0 mixed progressively with black.
Tints
#cd02a0 mixed progressively with white.
Tones
#cd02a0 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd02a0 {
color: #cd02a0;
}
.bg-cd02a0 {
background-color: #cd02a0;
color: #ffffff;
}
.border-cd02a0 {
border: 2px solid #cd02a0;
}
:root {
--color-primary: #cd02a0;
--color-primary-rgb: 205 2 160;
--color-primary-hsl: 313 98% 41%;
}
.gradient-cd02a0 {
background: linear-gradient(135deg, #cd02a0, #cd023b);
}
.shadow-cd02a0 {
box-shadow: 0 8px 24px rgb(205 2 160 / 0.35);
}
Medium Violet Red
#cd02a0 rgb(205, 2, 160) hsl(313, 98%, 41%) Medium Violet Red
#02cd2f rgb(2, 205, 47) hsl(133, 98%, 41%) Lime Green
#a0cd02 rgb(160, 205, 2) hsl(73, 98%, 41%) Yellow Green
#02a0cd rgb(2, 160, 205) hsl(193, 98%, 41%) Bondi Blue