#cd0c8a ≈ Medium Violet Red
#cd0c8a is a color from the rose family, with medium lightness and vivid saturation. In the RGB model it is made of 80.39% red, 4.71% green and 54.12% blue; printed in CMYK it uses 0% cyan, 94.15% magenta, 32.68% yellow and 19.61% black. Its hue angle is 320.83°, with 88.94% saturation and 42.55% 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.23:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 1.22.
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.1508 |
Shades
#cd0c8a mixed progressively with black.
Tints
#cd0c8a mixed progressively with white.
Tones
#cd0c8a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd0c8a {
color: #cd0c8a;
}
.bg-cd0c8a {
background-color: #cd0c8a;
color: #ffffff;
}
.border-cd0c8a {
border: 2px solid #cd0c8a;
}
:root {
--color-primary: #cd0c8a;
--color-primary-rgb: 205 12 138;
--color-primary-hsl: 321 89% 43%;
}
.gradient-cd0c8a {
background: linear-gradient(135deg, #cd0c8a, #cd0c29);
}
.shadow-cd0c8a {
box-shadow: 0 8px 24px rgb(205 12 138 / 0.35);
}
Medium Violet Red
#cd0c8a rgb(205, 12, 138) hsl(321, 89%, 43%) Medium Violet Red
#0ccd4f rgb(12, 205, 79) hsl(141, 89%, 43%) Malachite
#8acd0c rgb(138, 205, 12) hsl(81, 89%, 43%) Yellow Green
#0c8acd rgb(12, 138, 205) hsl(201, 89%, 43%) Steel Blue