#cd017f ≈ Medium Violet Red
#cd017f is a color from the rose family, with medium lightness and vivid saturation. In the RGB model it is made of 80.39% red, 0.39% green and 49.8% blue; printed in CMYK it uses 0% cyan, 99.51% magenta, 38.05% yellow and 19.61% black. Its hue angle is 322.94°, with 99.03% saturation and 40.39% 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.38:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 1.84.
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.1453 |
Shades
#cd017f mixed progressively with black.
Tints
#cd017f mixed progressively with white.
Tones
#cd017f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd017f {
color: #cd017f;
}
.bg-cd017f {
background-color: #cd017f;
color: #ffffff;
}
.border-cd017f {
border: 2px solid #cd017f;
}
:root {
--color-primary: #cd017f;
--color-primary-rgb: 205 1 127;
--color-primary-hsl: 323 99% 40%;
}
.gradient-cd017f {
background: linear-gradient(135deg, #cd017f, #cd0119);
}
.shadow-cd017f {
box-shadow: 0 8px 24px rgb(205 1 127 / 0.35);
}
Medium Violet Red
#cd017f rgb(205, 1, 127) hsl(323, 99%, 40%) Medium Violet Red
#01cd4f rgb(1, 205, 79) hsl(143, 99%, 40%) Malachite
#7fcd01 rgb(127, 205, 1) hsl(83, 99%, 40%) Yellow Green
#017fcd rgb(1, 127, 205) hsl(203, 99%, 40%) Steel Blue