#cd028f ≈ Medium Violet Red
#cd028f 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.78% green and 56.08% blue; printed in CMYK it uses 0% cyan, 99.02% magenta, 30.24% yellow and 19.61% black. Its hue angle is 318.33°, with 98.07% saturation and 40.59% 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.25:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 1.98.
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.1501 |
Shades
#cd028f mixed progressively with black.
Tints
#cd028f mixed progressively with white.
Tones
#cd028f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd028f {
color: #cd028f;
}
.bg-cd028f {
background-color: #cd028f;
color: #ffffff;
}
.border-cd028f {
border: 2px solid #cd028f;
}
:root {
--color-primary: #cd028f;
--color-primary-rgb: 205 2 143;
--color-primary-hsl: 318 98% 41%;
}
.gradient-cd028f {
background: linear-gradient(135deg, #cd028f, #cd0229);
}
.shadow-cd028f {
box-shadow: 0 8px 24px rgb(205 2 143 / 0.35);
}
Medium Violet Red
#cd028f rgb(205, 2, 143) hsl(318, 98%, 41%) Medium Violet Red
#02cd40 rgb(2, 205, 64) hsl(138, 98%, 41%) Lime Green
#8fcd02 rgb(143, 205, 2) hsl(78, 98%, 41%) Yellow Green
#028fcd rgb(2, 143, 205) hsl(198, 98%, 41%) Steel Blue