#ba2e7a ≈ Medium Violet Red
#ba2e7a 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.04% green and 47.84% blue; printed in CMYK it uses 0% cyan, 75.27% magenta, 34.41% yellow and 27.06% black. Its hue angle is 327.43°, with 60.34% saturation and 45.49% 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.59:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 3.13.
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.138 |
Shades
#ba2e7a mixed progressively with black.
Tints
#ba2e7a mixed progressively with white.
Tones
#ba2e7a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ba2e7a {
color: #ba2e7a;
}
.bg-ba2e7a {
background-color: #ba2e7a;
color: #ffffff;
}
.border-ba2e7a {
border: 2px solid #ba2e7a;
}
:root {
--color-primary: #ba2e7a;
--color-primary-rgb: 186 46 122;
--color-primary-hsl: 327 60% 45%;
}
.gradient-ba2e7a {
background: linear-gradient(135deg, #ba2e7a, #ba2e34);
}
.shadow-ba2e7a {
box-shadow: 0 8px 24px rgb(186 46 122 / 0.35);
}
Medium Violet Red
#ba2e7a rgb(186, 46, 122) hsl(327, 60%, 45%) Medium Violet Red
#2eba6e rgb(46, 186, 110) hsl(147, 60%, 45%) Medium Sea Green
#7aba2e rgb(122, 186, 46) hsl(87, 60%, 45%) Kelly Green
#2e7aba rgb(46, 122, 186) hsl(207, 60%, 45%) Tufts Blue