#cf2ba2 ≈ Medium Violet Red
#cf2ba2 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 81.18% red, 16.86% green and 63.53% blue; printed in CMYK it uses 0% cyan, 79.23% magenta, 21.74% yellow and 18.82% black. Its hue angle is 316.46°, with 65.6% saturation and 49.02% 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.65:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 5.76.
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.176 |
Shades
#cf2ba2 mixed progressively with black.
Tints
#cf2ba2 mixed progressively with white.
Tones
#cf2ba2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cf2ba2 {
color: #cf2ba2;
}
.bg-cf2ba2 {
background-color: #cf2ba2;
color: #ffffff;
}
.border-cf2ba2 {
border: 2px solid #cf2ba2;
}
:root {
--color-primary: #cf2ba2;
--color-primary-rgb: 207 43 162;
--color-primary-hsl: 316 66% 49%;
}
.gradient-cf2ba2 {
background: linear-gradient(135deg, #cf2ba2, #cf2b50);
}
.shadow-cf2ba2 {
box-shadow: 0 8px 24px rgb(207 43 162 / 0.35);
}
Medium Violet Red
#cf2ba2 rgb(207, 43, 162) hsl(316, 66%, 49%) Medium Violet Red
#2bcf58 rgb(43, 207, 88) hsl(136, 66%, 49%) Malachite
#a2cf2b rgb(162, 207, 43) hsl(76, 66%, 49%) Yellow Green
#2ba2cf rgb(43, 162, 207) hsl(196, 66%, 49%) Carolina Blue