#ba00a8 ≈ Medium Violet Red
#ba00a8 is a color from the magenta family, with low lightness and strong saturation. In the RGB model it is made of 72.94% red, 0% green and 65.88% blue; printed in CMYK it uses 0% cyan, 100% magenta, 9.68% yellow and 27.06% black. Its hue angle is 305.81°, with 100% saturation and 36.47% 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.75:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 8.41.
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.1327 |
Shades
#ba00a8 mixed progressively with black.
Tints
#ba00a8 mixed progressively with white.
Tones
#ba00a8 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ba00a8 {
color: #ba00a8;
}
.bg-ba00a8 {
background-color: #ba00a8;
color: #ffffff;
}
.border-ba00a8 {
border: 2px solid #ba00a8;
}
:root {
--color-primary: #ba00a8;
--color-primary-rgb: 186 0 168;
--color-primary-hsl: 306 100% 36%;
}
.gradient-ba00a8 {
background: linear-gradient(135deg, #ba00a8, #ba004b);
}
.shadow-ba00a8 {
box-shadow: 0 8px 24px rgb(186 0 168 / 0.35);
}
Medium Violet Red
#ba00a8 rgb(186, 0, 168) hsl(306, 100%, 36%) Medium Violet Red
#00ba12 rgb(0, 186, 18) hsl(126, 100%, 36%) Kelly Green
#a8ba00 rgb(168, 186, 0) hsl(66, 100%, 36%) Apple Green
#00a8ba rgb(0, 168, 186) hsl(186, 100%, 36%) Cadet Blue