#cf2e8a ≈ Medium Violet Red
#cf2e8a is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 81.18% red, 18.04% green and 54.12% blue; printed in CMYK it uses 0% cyan, 77.78% magenta, 33.33% yellow and 18.82% black. Its hue angle is 325.71°, with 63.64% saturation and 49.61% lightness in HSL. It sits between warm and cool, and is often associated with romance, playfulness and affection. Designers typically use it for food and restaurant brands, sales and promotions and brand accents. White text on this color reaches a contrast ratio of 4.76:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 3.63.
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.1705 |
Shades
#cf2e8a mixed progressively with black.
Tints
#cf2e8a mixed progressively with white.
Tones
#cf2e8a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cf2e8a {
color: #cf2e8a;
}
.bg-cf2e8a {
background-color: #cf2e8a;
color: #ffffff;
}
.border-cf2e8a {
border: 2px solid #cf2e8a;
}
:root {
--color-primary: #cf2e8a;
--color-primary-rgb: 207 46 138;
--color-primary-hsl: 326 64% 50%;
}
.gradient-cf2e8a {
background: linear-gradient(135deg, #cf2e8a, #cf2e3a);
}
.shadow-cf2e8a {
box-shadow: 0 8px 24px rgb(207 46 138 / 0.35);
}
Medium Violet Red
#cf2e8a rgb(207, 46, 138) hsl(326, 64%, 50%) Medium Violet Red
#2ecf73 rgb(46, 207, 115) hsl(146, 64%, 50%) Emerald
#8acf2e rgb(138, 207, 46) hsl(86, 64%, 50%) Yellow Green
#2e8acf rgb(46, 138, 207) hsl(206, 64%, 50%) Bleu de France