#ba337a ≈ Medium Violet Red
#ba337a is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 72.94% red, 20% green and 47.84% blue; printed in CMYK it uses 0% cyan, 72.58% magenta, 34.41% yellow and 27.06% black. Its hue angle is 328.44°, with 56.96% saturation and 46.47% 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.47:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 3.59.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc3366 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1421 |
Shades
#ba337a mixed progressively with black.
Tints
#ba337a mixed progressively with white.
Tones
#ba337a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ba337a {
color: #ba337a;
}
.bg-ba337a {
background-color: #ba337a;
color: #ffffff;
}
.border-ba337a {
border: 2px solid #ba337a;
}
:root {
--color-primary: #ba337a;
--color-primary-rgb: 186 51 122;
--color-primary-hsl: 328 57% 46%;
}
.gradient-ba337a {
background: linear-gradient(135deg, #ba337a, #ba3337);
}
.shadow-ba337a {
box-shadow: 0 8px 24px rgb(186 51 122 / 0.35);
}
Medium Violet Red
#ba337a rgb(186, 51, 122) hsl(328, 57%, 46%) Medium Violet Red
#33ba73 rgb(51, 186, 115) hsl(148, 57%, 46%) Medium Sea Green
#7aba33 rgb(122, 186, 51) hsl(88, 57%, 46%) Kelly Green
#337aba rgb(51, 122, 186) hsl(208, 57%, 46%) Tufts Blue