#cf05ab ≈ Medium Violet Red
#cf05ab is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 81.18% red, 1.96% green and 67.06% blue; printed in CMYK it uses 0% cyan, 97.58% magenta, 17.39% yellow and 18.82% black. Its hue angle is 310.69°, with 95.28% saturation and 41.57% 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 4.93:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.86.
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.1631 |
Shades
#cf05ab mixed progressively with black.
Tints
#cf05ab mixed progressively with white.
Tones
#cf05ab mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cf05ab {
color: #cf05ab;
}
.bg-cf05ab {
background-color: #cf05ab;
color: #ffffff;
}
.border-cf05ab {
border: 2px solid #cf05ab;
}
:root {
--color-primary: #cf05ab;
--color-primary-rgb: 207 5 171;
--color-primary-hsl: 311 95% 42%;
}
.gradient-cf05ab {
background: linear-gradient(135deg, #cf05ab, #cf0546);
}
.shadow-cf05ab {
box-shadow: 0 8px 24px rgb(207 5 171 / 0.35);
}
Medium Violet Red
#cf05ab rgb(207, 5, 171) hsl(311, 95%, 42%) Medium Violet Red
#05cf29 rgb(5, 207, 41) hsl(131, 95%, 42%) Lime Green
#abcf05 rgb(171, 207, 5) hsl(71, 95%, 42%) Yellow Green
#05abcf rgb(5, 171, 207) hsl(191, 95%, 42%) Bondi Blue