#cf1aa2 ≈ Medium Violet Red
#cf1aa2 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 81.18% red, 10.2% green and 63.53% blue; printed in CMYK it uses 0% cyan, 87.44% magenta, 21.74% yellow and 18.82% black. Its hue angle is 314.92°, with 77.68% saturation and 45.69% 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.86:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 5.36.
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.1661 |
Shades
#cf1aa2 mixed progressively with black.
Tints
#cf1aa2 mixed progressively with white.
Tones
#cf1aa2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cf1aa2 {
color: #cf1aa2;
}
.bg-cf1aa2 {
background-color: #cf1aa2;
color: #ffffff;
}
.border-cf1aa2 {
border: 2px solid #cf1aa2;
}
:root {
--color-primary: #cf1aa2;
--color-primary-rgb: 207 26 162;
--color-primary-hsl: 315 78% 46%;
}
.gradient-cf1aa2 {
background: linear-gradient(135deg, #cf1aa2, #cf1a47);
}
.shadow-cf1aa2 {
box-shadow: 0 8px 24px rgb(207 26 162 / 0.35);
}
Medium Violet Red
#cf1aa2 rgb(207, 26, 162) hsl(315, 78%, 46%) Medium Violet Red
#1acf47 rgb(26, 207, 71) hsl(135, 78%, 46%) Lime Green
#a2cf1a rgb(162, 207, 26) hsl(75, 78%, 46%) Yellow Green
#1aa2cf rgb(26, 162, 207) hsl(195, 78%, 46%) Bondi Blue