#c021a5 ≈ Medium Violet Red
#c021a5 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 75.29% red, 12.94% green and 64.71% blue; printed in CMYK it uses 0% cyan, 82.81% magenta, 14.06% yellow and 24.71% black. Its hue angle is 310.19°, with 70.67% saturation and 44.12% 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 brand accents. White text on this color reaches a contrast ratio of 5.25:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.69.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc3399 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1501 |
Shades
#c021a5 mixed progressively with black.
Tints
#c021a5 mixed progressively with white.
Tones
#c021a5 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c021a5 {
color: #c021a5;
}
.bg-c021a5 {
background-color: #c021a5;
color: #ffffff;
}
.border-c021a5 {
border: 2px solid #c021a5;
}
:root {
--color-primary: #c021a5;
--color-primary-rgb: 192 33 165;
--color-primary-hsl: 310 71% 44%;
}
.gradient-c021a5 {
background: linear-gradient(135deg, #c021a5, #c02155);
}
.shadow-c021a5 {
box-shadow: 0 8px 24px rgb(192 33 165 / 0.35);
}
Medium Violet Red
#c021a5 rgb(192, 33, 165) hsl(310, 71%, 44%) Medium Violet Red
#21c03c rgb(33, 192, 60) hsl(130, 71%, 44%) Lime Green
#a5c021 rgb(165, 192, 33) hsl(70, 71%, 44%) Apple Green
#21a5c0 rgb(33, 165, 192) hsl(190, 71%, 44%) Bondi Blue