#ba3c8a ≈ Medium Violet Red
#ba3c8a is a color from the rose family, with medium lightness and moderate saturation. In the RGB model it is made of 72.94% red, 23.53% green and 54.12% blue; printed in CMYK it uses 0% cyan, 67.74% magenta, 25.81% yellow and 27.06% black. Its hue angle is 322.86°, with 51.22% saturation and 48.24% 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.12:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 3.85.
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.1551 |
Shades
#ba3c8a mixed progressively with black.
Tints
#ba3c8a mixed progressively with white.
Tones
#ba3c8a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ba3c8a {
color: #ba3c8a;
}
.bg-ba3c8a {
background-color: #ba3c8a;
color: #ffffff;
}
.border-ba3c8a {
border: 2px solid #ba3c8a;
}
:root {
--color-primary: #ba3c8a;
--color-primary-rgb: 186 60 138;
--color-primary-hsl: 323 51% 48%;
}
.gradient-ba3c8a {
background: linear-gradient(135deg, #ba3c8a, #ba3c4b);
}
.shadow-ba3c8a {
box-shadow: 0 8px 24px rgb(186 60 138 / 0.35);
}
Medium Violet Red
#ba3c8a rgb(186, 60, 138) hsl(323, 51%, 48%) Medium Violet Red
#3cba6c rgb(60, 186, 108) hsl(143, 51%, 48%) Medium Sea Green
#8aba3c rgb(138, 186, 60) hsl(83, 51%, 48%) Apple Green
#3c8aba rgb(60, 138, 186) hsl(203, 51%, 48%) Steel Blue