#ba337e ≈ Medium Violet Red
#ba337e 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 49.41% blue; printed in CMYK it uses 0% cyan, 72.58% magenta, 32.26% yellow and 27.06% black. Its hue angle is 326.67°, 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.44:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 3.05.
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.1431 |
Shades
#ba337e mixed progressively with black.
Tints
#ba337e mixed progressively with white.
Tones
#ba337e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ba337e {
color: #ba337e;
}
.bg-ba337e {
background-color: #ba337e;
color: #ffffff;
}
.border-ba337e {
border: 2px solid #ba337e;
}
:root {
--color-primary: #ba337e;
--color-primary-rgb: 186 51 126;
--color-primary-hsl: 327 57% 46%;
}
.gradient-ba337e {
background: linear-gradient(135deg, #ba337e, #ba333a);
}
.shadow-ba337e {
box-shadow: 0 8px 24px rgb(186 51 126 / 0.35);
}
Medium Violet Red
#ba337e rgb(186, 51, 126) hsl(327, 57%, 46%) Medium Violet Red
#33ba6f rgb(51, 186, 111) hsl(147, 57%, 46%) Medium Sea Green
#7eba33 rgb(126, 186, 51) hsl(87, 57%, 46%) Apple Green
#337eba rgb(51, 126, 186) hsl(207, 57%, 46%) Steel Blue