#ba2f7a ≈ Medium Violet Red
#ba2f7a is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 72.94% red, 18.43% green and 47.84% blue; printed in CMYK it uses 0% cyan, 74.73% magenta, 34.41% yellow and 27.06% black. Its hue angle is 327.63°, with 59.66% saturation and 45.69% 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 5.56:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 3.21.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc3366 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1388 |
Shades
#ba2f7a mixed progressively with black.
Tints
#ba2f7a mixed progressively with white.
Tones
#ba2f7a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ba2f7a {
color: #ba2f7a;
}
.bg-ba2f7a {
background-color: #ba2f7a;
color: #ffffff;
}
.border-ba2f7a {
border: 2px solid #ba2f7a;
}
:root {
--color-primary: #ba2f7a;
--color-primary-rgb: 186 47 122;
--color-primary-hsl: 328 60% 46%;
}
.gradient-ba2f7a {
background: linear-gradient(135deg, #ba2f7a, #ba2f34);
}
.shadow-ba2f7a {
box-shadow: 0 8px 24px rgb(186 47 122 / 0.35);
}
Medium Violet Red
#ba2f7a rgb(186, 47, 122) hsl(328, 60%, 46%) Medium Violet Red
#2fba6f rgb(47, 186, 111) hsl(148, 60%, 46%) Medium Sea Green
#7aba2f rgb(122, 186, 47) hsl(88, 60%, 46%) Kelly Green
#2f7aba rgb(47, 122, 186) hsl(208, 60%, 46%) Tufts Blue