#c021a1 ≈ Medium Violet Red
#c021a1 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.14% blue; printed in CMYK it uses 0% cyan, 82.81% magenta, 16.15% yellow and 24.71% black. Its hue angle is 311.7°, 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.29:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 5.98.
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.1487 |
Shades
#c021a1 mixed progressively with black.
Tints
#c021a1 mixed progressively with white.
Tones
#c021a1 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c021a1 {
color: #c021a1;
}
.bg-c021a1 {
background-color: #c021a1;
color: #ffffff;
}
.border-c021a1 {
border: 2px solid #c021a1;
}
:root {
--color-primary: #c021a1;
--color-primary-rgb: 192 33 161;
--color-primary-hsl: 312 71% 44%;
}
.gradient-c021a1 {
background: linear-gradient(135deg, #c021a1, #c02151);
}
.shadow-c021a1 {
box-shadow: 0 8px 24px rgb(192 33 161 / 0.35);
}
Medium Violet Red
#c021a1 rgb(192, 33, 161) hsl(312, 71%, 44%) Medium Violet Red
#21c040 rgb(33, 192, 64) hsl(132, 71%, 44%) Lime Green
#a1c021 rgb(161, 192, 33) hsl(72, 71%, 44%) Apple Green
#21a1c0 rgb(33, 161, 192) hsl(192, 71%, 44%) Bondi Blue