#cd0ca2 ≈ Medium Violet Red
#cd0ca2 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 63.53% blue; printed in CMYK it uses 0% cyan, 94.15% magenta, 20.98% yellow and 19.61% black. Its hue angle is 313.37°, 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 5.04: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 | #cc0099 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1585 |
Shades
#cd0ca2 mixed progressively with black.
Tints
#cd0ca2 mixed progressively with white.
Tones
#cd0ca2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd0ca2 {
color: #cd0ca2;
}
.bg-cd0ca2 {
background-color: #cd0ca2;
color: #ffffff;
}
.border-cd0ca2 {
border: 2px solid #cd0ca2;
}
:root {
--color-primary: #cd0ca2;
--color-primary-rgb: 205 12 162;
--color-primary-hsl: 313 89% 43%;
}
.gradient-cd0ca2 {
background: linear-gradient(135deg, #cd0ca2, #cd0c41);
}
.shadow-cd0ca2 {
box-shadow: 0 8px 24px rgb(205 12 162 / 0.35);
}
Medium Violet Red
#cd0ca2 rgb(205, 12, 162) hsl(313, 89%, 43%) Medium Violet Red
#0ccd37 rgb(12, 205, 55) hsl(133, 89%, 43%) Lime Green
#a2cd0c rgb(162, 205, 12) hsl(73, 89%, 43%) Yellow Green
#0ca2cd rgb(12, 162, 205) hsl(193, 89%, 43%) Bondi Blue