#ba1981 ≈ Medium Violet Red
#ba1981 is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 72.94% red, 9.8% green and 50.59% blue; printed in CMYK it uses 0% cyan, 86.56% magenta, 30.65% yellow and 27.06% black. Its hue angle is 321.24°, with 76.3% saturation and 41.37% 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.93:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 2.57.
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.1272 |
Shades
#ba1981 mixed progressively with black.
Tints
#ba1981 mixed progressively with white.
Tones
#ba1981 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ba1981 {
color: #ba1981;
}
.bg-ba1981 {
background-color: #ba1981;
color: #ffffff;
}
.border-ba1981 {
border: 2px solid #ba1981;
}
:root {
--color-primary: #ba1981;
--color-primary-rgb: 186 25 129;
--color-primary-hsl: 321 76% 41%;
}
.gradient-ba1981 {
background: linear-gradient(135deg, #ba1981, #ba1931);
}
.shadow-ba1981 {
box-shadow: 0 8px 24px rgb(186 25 129 / 0.35);
}
Medium Violet Red
#ba1981 rgb(186, 25, 129) hsl(321, 76%, 41%) Medium Violet Red
#19ba52 rgb(25, 186, 82) hsl(141, 76%, 41%) Emerald
#81ba19 rgb(129, 186, 25) hsl(81, 76%, 41%) Apple Green
#1981ba rgb(25, 129, 186) hsl(201, 76%, 41%) Steel Blue