#c021a6 ≈ Medium Violet Red
#c021a6 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 65.1% blue; printed in CMYK it uses 0% cyan, 82.81% magenta, 13.54% yellow and 24.71% black. Its hue angle is 309.81°, 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.24:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.86.
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.1505 |
Shades
#c021a6 mixed progressively with black.
Tints
#c021a6 mixed progressively with white.
Tones
#c021a6 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c021a6 {
color: #c021a6;
}
.bg-c021a6 {
background-color: #c021a6;
color: #ffffff;
}
.border-c021a6 {
border: 2px solid #c021a6;
}
:root {
--color-primary: #c021a6;
--color-primary-rgb: 192 33 166;
--color-primary-hsl: 310 71% 44%;
}
.gradient-c021a6 {
background: linear-gradient(135deg, #c021a6, #c02157);
}
.shadow-c021a6 {
box-shadow: 0 8px 24px rgb(192 33 166 / 0.35);
}
Medium Violet Red
#c021a6 rgb(192, 33, 166) hsl(310, 71%, 44%) Medium Violet Red
#21c03b rgb(33, 192, 59) hsl(130, 71%, 44%) Lime Green
#a6c021 rgb(166, 192, 33) hsl(70, 71%, 44%) Apple Green
#21a6c0 rgb(33, 166, 192) hsl(190, 71%, 44%) Bondi Blue