#cf2b8a ≈ Medium Violet Red
#cf2b8a is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 81.18% red, 16.86% green and 54.12% blue; printed in CMYK it uses 0% cyan, 79.23% magenta, 33.33% yellow and 18.82% black. Its hue angle is 325.24°, with 65.6% saturation and 49.02% 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.81:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 3.29.
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.1683 |
Shades
#cf2b8a mixed progressively with black.
Tints
#cf2b8a mixed progressively with white.
Tones
#cf2b8a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cf2b8a {
color: #cf2b8a;
}
.bg-cf2b8a {
background-color: #cf2b8a;
color: #ffffff;
}
.border-cf2b8a {
border: 2px solid #cf2b8a;
}
:root {
--color-primary: #cf2b8a;
--color-primary-rgb: 207 43 138;
--color-primary-hsl: 325 66% 49%;
}
.gradient-cf2b8a {
background: linear-gradient(135deg, #cf2b8a, #cf2b38);
}
.shadow-cf2b8a {
box-shadow: 0 8px 24px rgb(207 43 138 / 0.35);
}
Medium Violet Red
#cf2b8a rgb(207, 43, 138) hsl(325, 66%, 49%) Medium Violet Red
#2bcf70 rgb(43, 207, 112) hsl(145, 66%, 49%) Emerald
#8acf2b rgb(138, 207, 43) hsl(85, 66%, 49%) Yellow Green
#2b8acf rgb(43, 138, 207) hsl(205, 66%, 49%) Bleu de France