#cd0a8a ≈ Medium Violet Red
#cd0a8a is a color from the rose family, with medium lightness and vivid saturation. In the RGB model it is made of 80.39% red, 3.92% green and 54.12% blue; printed in CMYK it uses 0% cyan, 95.12% magenta, 32.68% yellow and 19.61% black. Its hue angle is 320.62°, with 90.7% saturation and 42.16% lightness in HSL. It sits between warm and cool, and is often associated with romance, playfulness and affection. Designers typically use it for food and restaurant brands, sales and promotions and call-to-action buttons. White text on this color reaches a contrast ratio of 5.24:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 1.21.
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.1503 |
Shades
#cd0a8a mixed progressively with black.
Tints
#cd0a8a mixed progressively with white.
Tones
#cd0a8a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd0a8a {
color: #cd0a8a;
}
.bg-cd0a8a {
background-color: #cd0a8a;
color: #ffffff;
}
.border-cd0a8a {
border: 2px solid #cd0a8a;
}
:root {
--color-primary: #cd0a8a;
--color-primary-rgb: 205 10 138;
--color-primary-hsl: 321 91% 42%;
}
.gradient-cd0a8a {
background: linear-gradient(135deg, #cd0a8a, #cd0a28);
}
.shadow-cd0a8a {
box-shadow: 0 8px 24px rgb(205 10 138 / 0.35);
}
Medium Violet Red
#cd0a8a rgb(205, 10, 138) hsl(321, 91%, 42%) Medium Violet Red
#0acd4d rgb(10, 205, 77) hsl(141, 91%, 42%) Malachite
#8acd0a rgb(138, 205, 10) hsl(81, 91%, 42%) Yellow Green
#0a8acd rgb(10, 138, 205) hsl(201, 91%, 42%) Steel Blue