#c212ad ≈ Medium Violet Red
#c212ad is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 76.08% red, 7.06% green and 67.84% blue; printed in CMYK it uses 0% cyan, 90.72% magenta, 10.82% yellow and 23.92% black. Its hue angle is 307.16°, with 83.02% saturation and 41.57% 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.27:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 8.
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.1492 |
Shades
#c212ad mixed progressively with black.
Tints
#c212ad mixed progressively with white.
Tones
#c212ad mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c212ad {
color: #c212ad;
}
.bg-c212ad {
background-color: #c212ad;
color: #ffffff;
}
.border-c212ad {
border: 2px solid #c212ad;
}
:root {
--color-primary: #c212ad;
--color-primary-rgb: 194 18 173;
--color-primary-hsl: 307 83% 42%;
}
.gradient-c212ad {
background: linear-gradient(135deg, #c212ad, #c21255);
}
.shadow-c212ad {
box-shadow: 0 8px 24px rgb(194 18 173 / 0.35);
}
Medium Violet Red
#c212ad rgb(194, 18, 173) hsl(307, 83%, 42%) Medium Violet Red
#12c227 rgb(18, 194, 39) hsl(127, 83%, 42%) Lime Green
#adc212 rgb(173, 194, 18) hsl(67, 83%, 42%) Apple Green
#12adc2 rgb(18, 173, 194) hsl(187, 83%, 42%) Cadet Blue