#ba2ca2 ≈ Medium Violet Red
#ba2ca2 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 72.94% red, 17.25% green and 63.53% blue; printed in CMYK it uses 0% cyan, 76.34% magenta, 12.9% yellow and 27.06% black. Its hue angle is 310.14°, with 61.74% saturation and 45.1% lightness in HSL. It sits between warm and cool, and is often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and brand accents. White text on this color reaches a contrast ratio of 5.29:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.72.
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.1485 |
Shades
#ba2ca2 mixed progressively with black.
Tints
#ba2ca2 mixed progressively with white.
Tones
#ba2ca2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ba2ca2 {
color: #ba2ca2;
}
.bg-ba2ca2 {
background-color: #ba2ca2;
color: #ffffff;
}
.border-ba2ca2 {
border: 2px solid #ba2ca2;
}
:root {
--color-primary: #ba2ca2;
--color-primary-rgb: 186 44 162;
--color-primary-hsl: 310 62% 45%;
}
.gradient-ba2ca2 {
background: linear-gradient(135deg, #ba2ca2, #ba2c5b);
}
.shadow-ba2ca2 {
box-shadow: 0 8px 24px rgb(186 44 162 / 0.35);
}
Medium Violet Red
#ba2ca2 rgb(186, 44, 162) hsl(310, 62%, 45%) Medium Violet Red
#2cba44 rgb(44, 186, 68) hsl(130, 62%, 45%) Kelly Green
#a2ba2c rgb(162, 186, 44) hsl(70, 62%, 45%) Apple Green
#2ca2ba rgb(44, 162, 186) hsl(190, 62%, 45%) Bondi Blue