#b52f8a ≈ Medium Violet Red
#b52f8a is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 70.98% red, 18.43% green and 54.12% blue; printed in CMYK it uses 0% cyan, 74.03% magenta, 23.76% yellow and 29.02% black. Its hue angle is 319.25°, with 58.77% saturation and 44.71% 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 5.62:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 3.65.
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.1369 |
Shades
#b52f8a mixed progressively with black.
Tints
#b52f8a mixed progressively with white.
Tones
#b52f8a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b52f8a {
color: #b52f8a;
}
.bg-b52f8a {
background-color: #b52f8a;
color: #ffffff;
}
.border-b52f8a {
border: 2px solid #b52f8a;
}
:root {
--color-primary: #b52f8a;
--color-primary-rgb: 181 47 138;
--color-primary-hsl: 319 59% 45%;
}
.gradient-b52f8a {
background: linear-gradient(135deg, #b52f8a, #b52f47);
}
.shadow-b52f8a {
box-shadow: 0 8px 24px rgb(181 47 138 / 0.35);
}
Medium Violet Red
#b52f8a rgb(181, 47, 138) hsl(319, 59%, 45%) Medium Violet Red
#2fb55a rgb(47, 181, 90) hsl(139, 59%, 45%) Medium Sea Green
#8ab52f rgb(138, 181, 47) hsl(79, 59%, 45%) Apple Green
#2f8ab5 rgb(47, 138, 181) hsl(199, 59%, 45%) Air Force Blue