#ba2b82 ≈ Medium Violet Red
#ba2b82 is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 72.94% red, 16.86% green and 50.98% blue; printed in CMYK it uses 0% cyan, 76.88% magenta, 30.11% yellow and 27.06% black. Its hue angle is 323.5°, with 62.45% saturation and 44.9% 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.59:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 2.23.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc3399 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1378 |
Shades
#ba2b82 mixed progressively with black.
Tints
#ba2b82 mixed progressively with white.
Tones
#ba2b82 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ba2b82 {
color: #ba2b82;
}
.bg-ba2b82 {
background-color: #ba2b82;
color: #ffffff;
}
.border-ba2b82 {
border: 2px solid #ba2b82;
}
:root {
--color-primary: #ba2b82;
--color-primary-rgb: 186 43 130;
--color-primary-hsl: 324 62% 45%;
}
.gradient-ba2b82 {
background: linear-gradient(135deg, #ba2b82, #ba2b3a);
}
.shadow-ba2b82 {
box-shadow: 0 8px 24px rgb(186 43 130 / 0.35);
}
Medium Violet Red
#ba2b82 rgb(186, 43, 130) hsl(324, 62%, 45%) Medium Violet Red
#2bba63 rgb(43, 186, 99) hsl(144, 62%, 45%) Medium Sea Green
#82ba2b rgb(130, 186, 43) hsl(84, 62%, 45%) Apple Green
#2b82ba rgb(43, 130, 186) hsl(204, 62%, 45%) Steel Blue