#cd0786 ≈ Medium Violet Red
#cd0786 is a color from the rose family, with medium lightness and vivid saturation. In the RGB model it is made of 80.39% red, 2.75% green and 52.55% blue; printed in CMYK it uses 0% cyan, 96.59% magenta, 34.63% yellow and 19.61% black. Its hue angle is 321.52°, with 93.4% saturation and 41.57% 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.29:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 1.
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.1485 |
Shades
#cd0786 mixed progressively with black.
Tints
#cd0786 mixed progressively with white.
Tones
#cd0786 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd0786 {
color: #cd0786;
}
.bg-cd0786 {
background-color: #cd0786;
color: #ffffff;
}
.border-cd0786 {
border: 2px solid #cd0786;
}
:root {
--color-primary: #cd0786;
--color-primary-rgb: 205 7 134;
--color-primary-hsl: 322 93% 42%;
}
.gradient-cd0786 {
background: linear-gradient(135deg, #cd0786, #cd0723);
}
.shadow-cd0786 {
box-shadow: 0 8px 24px rgb(205 7 134 / 0.35);
}
Medium Violet Red
#cd0786 rgb(205, 7, 134) hsl(322, 93%, 42%) Medium Violet Red
#07cd4e rgb(7, 205, 78) hsl(142, 93%, 42%) Malachite
#86cd07 rgb(134, 205, 7) hsl(82, 93%, 42%) Yellow Green
#0786cd rgb(7, 134, 205) hsl(202, 93%, 42%) Steel Blue