#cf2ea2 ≈ Medium Violet Red
#cf2ea2 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 81.18% red, 18.04% green and 63.53% blue; printed in CMYK it uses 0% cyan, 77.78% magenta, 21.74% yellow and 18.82% black. Its hue angle is 316.77°, with 63.64% saturation and 49.61% 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.6:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 5.9.
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.1783 |
Shades
#cf2ea2 mixed progressively with black.
Tints
#cf2ea2 mixed progressively with white.
Tones
#cf2ea2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cf2ea2 {
color: #cf2ea2;
}
.bg-cf2ea2 {
background-color: #cf2ea2;
color: #ffffff;
}
.border-cf2ea2 {
border: 2px solid #cf2ea2;
}
:root {
--color-primary: #cf2ea2;
--color-primary-rgb: 207 46 162;
--color-primary-hsl: 317 64% 50%;
}
.gradient-cf2ea2 {
background: linear-gradient(135deg, #cf2ea2, #cf2e52);
}
.shadow-cf2ea2 {
box-shadow: 0 8px 24px rgb(207 46 162 / 0.35);
}
Medium Violet Red
#cf2ea2 rgb(207, 46, 162) hsl(317, 64%, 50%) Medium Violet Red
#2ecf5b rgb(46, 207, 91) hsl(137, 64%, 50%) Malachite
#a2cf2e rgb(162, 207, 46) hsl(77, 64%, 50%) Yellow Green
#2ea2cf rgb(46, 162, 207) hsl(197, 64%, 50%) Carolina Blue