#ba2d74 ≈ Medium Violet Red
#ba2d74 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 45.49% blue; printed in CMYK it uses 0% cyan, 75.81% magenta, 37.63% yellow and 27.06% black. Its hue angle is 329.79°, 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.65:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 4.16.
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.1358 |
Shades
#ba2d74 mixed progressively with black.
Tints
#ba2d74 mixed progressively with white.
Tones
#ba2d74 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ba2d74 {
color: #ba2d74;
}
.bg-ba2d74 {
background-color: #ba2d74;
color: #ffffff;
}
.border-ba2d74 {
border: 2px solid #ba2d74;
}
:root {
--color-primary: #ba2d74;
--color-primary-rgb: 186 45 116;
--color-primary-hsl: 330 61% 45%;
}
.gradient-ba2d74 {
background: linear-gradient(135deg, #ba2d74, #ba2d2d);
}
.shadow-ba2d74 {
box-shadow: 0 8px 24px rgb(186 45 116 / 0.35);
}
Medium Violet Red
#ba2d74 rgb(186, 45, 116) hsl(330, 61%, 45%) Medium Violet Red
#2dba73 rgb(45, 186, 115) hsl(150, 61%, 45%) Medium Sea Green
#74ba2d rgb(116, 186, 45) hsl(90, 61%, 45%) Kelly Green
#2d74ba rgb(45, 116, 186) hsl(210, 61%, 45%) True Blue