#cd0a7c ≈ Medium Violet Red
#cd0a7c 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 48.63% blue; printed in CMYK it uses 0% cyan, 95.12% magenta, 39.51% yellow and 19.61% black. Its hue angle is 324.92°, 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.34:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 2.54.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc0066 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1465 |
Shades
#cd0a7c mixed progressively with black.
Tints
#cd0a7c mixed progressively with white.
Tones
#cd0a7c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd0a7c {
color: #cd0a7c;
}
.bg-cd0a7c {
background-color: #cd0a7c;
color: #ffffff;
}
.border-cd0a7c {
border: 2px solid #cd0a7c;
}
:root {
--color-primary: #cd0a7c;
--color-primary-rgb: 205 10 124;
--color-primary-hsl: 325 91% 42%;
}
.gradient-cd0a7c {
background: linear-gradient(135deg, #cd0a7c, #cd0a1b);
}
.shadow-cd0a7c {
box-shadow: 0 8px 24px rgb(205 10 124 / 0.35);
}
Medium Violet Red
#cd0a7c rgb(205, 10, 124) hsl(325, 91%, 42%) Medium Violet Red
#0acd5b rgb(10, 205, 91) hsl(145, 91%, 42%) Malachite
#7ccd0a rgb(124, 205, 10) hsl(85, 91%, 42%) Yellow Green
#0a7ccd rgb(10, 124, 205) hsl(205, 91%, 42%) Tufts Blue