#cd1aa2 ≈ Medium Violet Red
#cd1aa2 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 80.39% red, 10.2% green and 63.53% blue; printed in CMYK it uses 0% cyan, 87.32% magenta, 20.98% yellow and 19.61% black. Its hue angle is 314.41°, with 77.49% saturation and 45.29% 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 4.92:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 5.36.
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.1633 |
Shades
#cd1aa2 mixed progressively with black.
Tints
#cd1aa2 mixed progressively with white.
Tones
#cd1aa2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd1aa2 {
color: #cd1aa2;
}
.bg-cd1aa2 {
background-color: #cd1aa2;
color: #ffffff;
}
.border-cd1aa2 {
border: 2px solid #cd1aa2;
}
:root {
--color-primary: #cd1aa2;
--color-primary-rgb: 205 26 162;
--color-primary-hsl: 314 77% 45%;
}
.gradient-cd1aa2 {
background: linear-gradient(135deg, #cd1aa2, #cd1a49);
}
.shadow-cd1aa2 {
box-shadow: 0 8px 24px rgb(205 26 162 / 0.35);
}
Medium Violet Red
#cd1aa2 rgb(205, 26, 162) hsl(314, 77%, 45%) Medium Violet Red
#1acd45 rgb(26, 205, 69) hsl(134, 77%, 45%) Lime Green
#a2cd1a rgb(162, 205, 26) hsl(74, 77%, 45%) Yellow Green
#1aa2cd rgb(26, 162, 205) hsl(194, 77%, 45%) Bondi Blue