#cd17a2 ≈ Medium Violet Red
#cd17a2 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 80.39% red, 9.02% green and 63.53% blue; printed in CMYK it uses 0% cyan, 88.78% magenta, 20.98% yellow and 19.61% black. Its hue angle is 314.18°, with 79.82% saturation and 44.71% 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.95:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 5.35.
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.162 |
Shades
#cd17a2 mixed progressively with black.
Tints
#cd17a2 mixed progressively with white.
Tones
#cd17a2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd17a2 {
color: #cd17a2;
}
.bg-cd17a2 {
background-color: #cd17a2;
color: #ffffff;
}
.border-cd17a2 {
border: 2px solid #cd17a2;
}
:root {
--color-primary: #cd17a2;
--color-primary-rgb: 205 23 162;
--color-primary-hsl: 314 80% 45%;
}
.gradient-cd17a2 {
background: linear-gradient(135deg, #cd17a2, #cd1747);
}
.shadow-cd17a2 {
box-shadow: 0 8px 24px rgb(205 23 162 / 0.35);
}
Medium Violet Red
#cd17a2 rgb(205, 23, 162) hsl(314, 80%, 45%) Medium Violet Red
#17cd42 rgb(23, 205, 66) hsl(134, 80%, 45%) Lime Green
#a2cd17 rgb(162, 205, 23) hsl(74, 80%, 45%) Yellow Green
#17a2cd rgb(23, 162, 205) hsl(194, 80%, 45%) Bondi Blue