#cd2aaa ≈ Medium Violet Red
#cd2aaa is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 80.39% red, 16.47% green and 66.67% blue; printed in CMYK it uses 0% cyan, 79.51% magenta, 17.07% yellow and 19.61% black. Its hue angle is 312.88°, with 65.99% saturation and 48.43% 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.66:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.99.
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.1754 |
Shades
#cd2aaa mixed progressively with black.
Tints
#cd2aaa mixed progressively with white.
Tones
#cd2aaa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd2aaa {
color: #cd2aaa;
}
.bg-cd2aaa {
background-color: #cd2aaa;
color: #ffffff;
}
.border-cd2aaa {
border: 2px solid #cd2aaa;
}
:root {
--color-primary: #cd2aaa;
--color-primary-rgb: 205 42 170;
--color-primary-hsl: 313 66% 48%;
}
.gradient-cd2aaa {
background: linear-gradient(135deg, #cd2aaa, #cd2a59);
}
.shadow-cd2aaa {
box-shadow: 0 8px 24px rgb(205 42 170 / 0.35);
}
Medium Violet Red
#cd2aaa rgb(205, 42, 170) hsl(313, 66%, 48%) Medium Violet Red
#2acd4d rgb(42, 205, 77) hsl(133, 66%, 48%) Lime Green
#aacd2a rgb(170, 205, 42) hsl(73, 66%, 48%) Yellow Green
#2aaacd rgb(42, 170, 205) hsl(193, 66%, 48%) Moonstone Blue