#ba2d7f ≈ Medium Violet Red
#ba2d7f is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 72.94% red, 17.65% green and 49.8% blue; printed in CMYK it uses 0% cyan, 75.81% magenta, 31.72% yellow and 27.06% black. Its hue angle is 325.11°, with 61.04% saturation and 45.29% 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.57:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 2.46.
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.1385 |
Shades
#ba2d7f mixed progressively with black.
Tints
#ba2d7f mixed progressively with white.
Tones
#ba2d7f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ba2d7f {
color: #ba2d7f;
}
.bg-ba2d7f {
background-color: #ba2d7f;
color: #ffffff;
}
.border-ba2d7f {
border: 2px solid #ba2d7f;
}
:root {
--color-primary: #ba2d7f;
--color-primary-rgb: 186 45 127;
--color-primary-hsl: 325 61% 45%;
}
.gradient-ba2d7f {
background: linear-gradient(135deg, #ba2d7f, #ba2d38);
}
.shadow-ba2d7f {
box-shadow: 0 8px 24px rgb(186 45 127 / 0.35);
}
Medium Violet Red
#ba2d7f rgb(186, 45, 127) hsl(325, 61%, 45%) Medium Violet Red
#2dba68 rgb(45, 186, 104) hsl(145, 61%, 45%) Medium Sea Green
#7fba2d rgb(127, 186, 45) hsl(85, 61%, 45%) Apple Green
#2d7fba rgb(45, 127, 186) hsl(205, 61%, 45%) Steel Blue