#cf017e ≈ Medium Violet Red
#cf017e is a color from the rose family, with medium lightness and vivid saturation. In the RGB model it is made of 81.18% red, 0.39% green and 49.41% blue; printed in CMYK it uses 0% cyan, 99.52% magenta, 39.13% yellow and 18.82% black. Its hue angle is 323.59°, with 99.04% saturation and 40.78% 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.3:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 2.36.
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.1479 |
Shades
#cf017e mixed progressively with black.
Tints
#cf017e mixed progressively with white.
Tones
#cf017e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cf017e {
color: #cf017e;
}
.bg-cf017e {
background-color: #cf017e;
color: #ffffff;
}
.border-cf017e {
border: 2px solid #cf017e;
}
:root {
--color-primary: #cf017e;
--color-primary-rgb: 207 1 126;
--color-primary-hsl: 324 99% 41%;
}
.gradient-cf017e {
background: linear-gradient(135deg, #cf017e, #cf0117);
}
.shadow-cf017e {
box-shadow: 0 8px 24px rgb(207 1 126 / 0.35);
}
Medium Violet Red
#cf017e rgb(207, 1, 126) hsl(324, 99%, 41%) Medium Violet Red
#01cf52 rgb(1, 207, 82) hsl(144, 99%, 41%) Malachite
#7ecf01 rgb(126, 207, 1) hsl(84, 99%, 41%) Yellow Green
#017ecf rgb(1, 126, 207) hsl(204, 99%, 41%) Tufts Blue