#cd0caa ≈ Medium Violet Red
#cd0caa is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80.39% red, 4.71% green and 66.67% blue; printed in CMYK it uses 0% cyan, 94.15% magenta, 17.07% yellow and 19.61% black. Its hue angle is 310.88°, with 88.94% saturation and 42.55% 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 4.97:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.75.
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.1614 |
Shades
#cd0caa mixed progressively with black.
Tints
#cd0caa mixed progressively with white.
Tones
#cd0caa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd0caa {
color: #cd0caa;
}
.bg-cd0caa {
background-color: #cd0caa;
color: #ffffff;
}
.border-cd0caa {
border: 2px solid #cd0caa;
}
:root {
--color-primary: #cd0caa;
--color-primary-rgb: 205 12 170;
--color-primary-hsl: 311 89% 43%;
}
.gradient-cd0caa {
background: linear-gradient(135deg, #cd0caa, #cd0c4a);
}
.shadow-cd0caa {
box-shadow: 0 8px 24px rgb(205 12 170 / 0.35);
}
Medium Violet Red
#cd0caa rgb(205, 12, 170) hsl(311, 89%, 43%) Medium Violet Red
#0ccd2f rgb(12, 205, 47) hsl(131, 89%, 43%) Lime Green
#aacd0c rgb(170, 205, 12) hsl(71, 89%, 43%) Yellow Green
#0caacd rgb(12, 170, 205) hsl(191, 89%, 43%) Bondi Blue