#c021a3 ≈ Medium Violet Red
#c021a3 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 63.92% blue; printed in CMYK it uses 0% cyan, 82.81% magenta, 15.1% yellow and 24.71% black. Its hue angle is 310.94°, 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.27:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.34.
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.1494 |
Shades
#c021a3 mixed progressively with black.
Tints
#c021a3 mixed progressively with white.
Tones
#c021a3 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c021a3 {
color: #c021a3;
}
.bg-c021a3 {
background-color: #c021a3;
color: #ffffff;
}
.border-c021a3 {
border: 2px solid #c021a3;
}
:root {
--color-primary: #c021a3;
--color-primary-rgb: 192 33 163;
--color-primary-hsl: 311 71% 44%;
}
.gradient-c021a3 {
background: linear-gradient(135deg, #c021a3, #c02154);
}
.shadow-c021a3 {
box-shadow: 0 8px 24px rgb(192 33 163 / 0.35);
}
Medium Violet Red
#c021a3 rgb(192, 33, 163) hsl(311, 71%, 44%) Medium Violet Red
#21c03e rgb(33, 192, 62) hsl(131, 71%, 44%) Lime Green
#a3c021 rgb(163, 192, 33) hsl(71, 71%, 44%) Apple Green
#21a3c0 rgb(33, 163, 192) hsl(191, 71%, 44%) Bondi Blue