#cf17ab ≈ Medium Violet Red
#cf17ab is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 81.18% red, 9.02% green and 67.06% blue; printed in CMYK it uses 0% cyan, 88.89% magenta, 17.39% yellow and 18.82% black. Its hue angle is 311.74°, with 80% saturation and 45.1% 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 brand accents. White text on this color reaches a contrast ratio of 4.81:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.88.
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.1682 |
Shades
#cf17ab mixed progressively with black.
Tints
#cf17ab mixed progressively with white.
Tones
#cf17ab mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cf17ab {
color: #cf17ab;
}
.bg-cf17ab {
background-color: #cf17ab;
color: #ffffff;
}
.border-cf17ab {
border: 2px solid #cf17ab;
}
:root {
--color-primary: #cf17ab;
--color-primary-rgb: 207 23 171;
--color-primary-hsl: 312 80% 45%;
}
.gradient-cf17ab {
background: linear-gradient(135deg, #cf17ab, #cf174f);
}
.shadow-cf17ab {
box-shadow: 0 8px 24px rgb(207 23 171 / 0.35);
}
Medium Violet Red
#cf17ab rgb(207, 23, 171) hsl(312, 80%, 45%) Medium Violet Red
#17cf3b rgb(23, 207, 59) hsl(132, 80%, 45%) Lime Green
#abcf17 rgb(171, 207, 23) hsl(72, 80%, 45%) Yellow Green
#17abcf rgb(23, 171, 207) hsl(192, 80%, 45%) Bondi Blue