#cd008e ≈ Medium Violet Red
#cd008e is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80.39% red, 0% green and 55.69% blue; printed in CMYK it uses 0% cyan, 100% magenta, 30.73% yellow and 19.61% black. Its hue angle is 318.44°, with 100% saturation and 40.2% 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.27:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 1.83.
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.1493 |
Shades
#cd008e mixed progressively with black.
Tints
#cd008e mixed progressively with white.
Tones
#cd008e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd008e {
color: #cd008e;
}
.bg-cd008e {
background-color: #cd008e;
color: #ffffff;
}
.border-cd008e {
border: 2px solid #cd008e;
}
:root {
--color-primary: #cd008e;
--color-primary-rgb: 205 0 142;
--color-primary-hsl: 318 100% 40%;
}
.gradient-cd008e {
background: linear-gradient(135deg, #cd008e, #cd0028);
}
.shadow-cd008e {
box-shadow: 0 8px 24px rgb(205 0 142 / 0.35);
}
Medium Violet Red
#cd008e rgb(205, 0, 142) hsl(318, 100%, 40%) Medium Violet Red
#00cd3f rgb(0, 205, 63) hsl(138, 100%, 40%) Lime Green
#8ecd00 rgb(142, 205, 0) hsl(78, 100%, 40%) Yellow Green
#008ecd rgb(0, 142, 205) hsl(198, 100%, 40%) Steel Blue