#ba2c8a ≈ Medium Violet Red
#ba2c8a is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 72.94% red, 17.25% green and 54.12% blue; printed in CMYK it uses 0% cyan, 76.34% magenta, 25.81% yellow and 27.06% black. Its hue angle is 320.28°, with 61.74% saturation and 45.1% 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.5:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 2.78.
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.1408 |
Shades
#ba2c8a mixed progressively with black.
Tints
#ba2c8a mixed progressively with white.
Tones
#ba2c8a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ba2c8a {
color: #ba2c8a;
}
.bg-ba2c8a {
background-color: #ba2c8a;
color: #ffffff;
}
.border-ba2c8a {
border: 2px solid #ba2c8a;
}
:root {
--color-primary: #ba2c8a;
--color-primary-rgb: 186 44 138;
--color-primary-hsl: 320 62% 45%;
}
.gradient-ba2c8a {
background: linear-gradient(135deg, #ba2c8a, #ba2c43);
}
.shadow-ba2c8a {
box-shadow: 0 8px 24px rgb(186 44 138 / 0.35);
}
Medium Violet Red
#ba2c8a rgb(186, 44, 138) hsl(320, 62%, 45%) Medium Violet Red
#2cba5c rgb(44, 186, 92) hsl(140, 62%, 45%) Medium Sea Green
#8aba2c rgb(138, 186, 44) hsl(80, 62%, 45%) Apple Green
#2c8aba rgb(44, 138, 186) hsl(200, 62%, 45%) Steel Blue