#cf1fa7 ≈ Medium Violet Red
#cf1fa7 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 81.18% red, 12.16% green and 65.49% blue; printed in CMYK it uses 0% cyan, 85.02% magenta, 19.32% yellow and 18.82% black. Its hue angle is 313.64°, with 73.95% saturation and 46.67% 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.77:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.27.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc3399 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1704 |
Shades
#cf1fa7 mixed progressively with black.
Tints
#cf1fa7 mixed progressively with white.
Tones
#cf1fa7 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cf1fa7 {
color: #cf1fa7;
}
.bg-cf1fa7 {
background-color: #cf1fa7;
color: #ffffff;
}
.border-cf1fa7 {
border: 2px solid #cf1fa7;
}
:root {
--color-primary: #cf1fa7;
--color-primary-rgb: 207 31 167;
--color-primary-hsl: 314 74% 47%;
}
.gradient-cf1fa7 {
background: linear-gradient(135deg, #cf1fa7, #cf1f4f);
}
.shadow-cf1fa7 {
box-shadow: 0 8px 24px rgb(207 31 167 / 0.35);
}
Medium Violet Red
#cf1fa7 rgb(207, 31, 167) hsl(314, 74%, 47%) Medium Violet Red
#1fcf47 rgb(31, 207, 71) hsl(134, 74%, 47%) Lime Green
#a7cf1f rgb(167, 207, 31) hsl(74, 74%, 47%) Yellow Green
#1fa7cf rgb(31, 167, 207) hsl(194, 74%, 47%) Bondi Blue