#ba0ea2 ≈ Medium Violet Red
#ba0ea2 is a color from the magenta family, with low lightness and strong saturation. In the RGB model it is made of 72.94% red, 5.49% green and 63.53% blue; printed in CMYK it uses 0% cyan, 92.47% magenta, 12.9% yellow and 27.06% black. Its hue angle is 308.37°, with 86% saturation and 39.22% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 5.72:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 7.3.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc0099 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1336 |
Shades
#ba0ea2 mixed progressively with black.
Tints
#ba0ea2 mixed progressively with white.
Tones
#ba0ea2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ba0ea2 {
color: #ba0ea2;
}
.bg-ba0ea2 {
background-color: #ba0ea2;
color: #ffffff;
}
.border-ba0ea2 {
border: 2px solid #ba0ea2;
}
:root {
--color-primary: #ba0ea2;
--color-primary-rgb: 186 14 162;
--color-primary-hsl: 308 86% 39%;
}
.gradient-ba0ea2 {
background: linear-gradient(135deg, #ba0ea2, #ba0e4c);
}
.shadow-ba0ea2 {
box-shadow: 0 8px 24px rgb(186 14 162 / 0.35);
}
Medium Violet Red
#ba0ea2 rgb(186, 14, 162) hsl(308, 86%, 39%) Medium Violet Red
#0eba26 rgb(14, 186, 38) hsl(128, 86%, 39%) Kelly Green
#a2ba0e rgb(162, 186, 14) hsl(68, 86%, 39%) Apple Green
#0ea2ba rgb(14, 162, 186) hsl(188, 86%, 39%) Bondi Blue