#ba2b7e ≈ Medium Violet Red
#ba2b7e is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 72.94% red, 16.86% green and 49.41% blue; printed in CMYK it uses 0% cyan, 76.88% magenta, 32.26% yellow and 27.06% black. Its hue angle is 325.17°, with 62.45% saturation and 44.9% 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.62:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 2.44.
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.1367 |
Shades
#ba2b7e mixed progressively with black.
Tints
#ba2b7e mixed progressively with white.
Tones
#ba2b7e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ba2b7e {
color: #ba2b7e;
}
.bg-ba2b7e {
background-color: #ba2b7e;
color: #ffffff;
}
.border-ba2b7e {
border: 2px solid #ba2b7e;
}
:root {
--color-primary: #ba2b7e;
--color-primary-rgb: 186 43 126;
--color-primary-hsl: 325 62% 45%;
}
.gradient-ba2b7e {
background: linear-gradient(135deg, #ba2b7e, #ba2b37);
}
.shadow-ba2b7e {
box-shadow: 0 8px 24px rgb(186 43 126 / 0.35);
}
Medium Violet Red
#ba2b7e rgb(186, 43, 126) hsl(325, 62%, 45%) Medium Violet Red
#2bba67 rgb(43, 186, 103) hsl(145, 62%, 45%) Medium Sea Green
#7eba2b rgb(126, 186, 43) hsl(85, 62%, 45%) Apple Green
#2b7eba rgb(43, 126, 186) hsl(205, 62%, 45%) Steel Blue