#cf2e87 ≈ Medium Violet Red
#cf2e87 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 52.94% blue; printed in CMYK it uses 0% cyan, 77.78% magenta, 34.78% yellow and 18.82% black. Its hue angle is 326.83°, 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.78:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 3.75.
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.1697 |
Shades
#cf2e87 mixed progressively with black.
Tints
#cf2e87 mixed progressively with white.
Tones
#cf2e87 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cf2e87 {
color: #cf2e87;
}
.bg-cf2e87 {
background-color: #cf2e87;
color: #ffffff;
}
.border-cf2e87 {
border: 2px solid #cf2e87;
}
:root {
--color-primary: #cf2e87;
--color-primary-rgb: 207 46 135;
--color-primary-hsl: 327 64% 50%;
}
.gradient-cf2e87 {
background: linear-gradient(135deg, #cf2e87, #cf2e37);
}
.shadow-cf2e87 {
box-shadow: 0 8px 24px rgb(207 46 135 / 0.35);
}
Medium Violet Red
#cf2e87 rgb(207, 46, 135) hsl(327, 64%, 50%) Medium Violet Red
#2ecf76 rgb(46, 207, 118) hsl(147, 64%, 50%) Emerald
#87cf2e rgb(135, 207, 46) hsl(87, 64%, 50%) Yellow Green
#2e87cf rgb(46, 135, 207) hsl(207, 64%, 50%) Bleu de France