#ba1277 ≈ Medium Violet Red
#ba1277 is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 72.94% red, 7.06% green and 46.67% blue; printed in CMYK it uses 0% cyan, 90.32% magenta, 36.02% yellow and 27.06% black. Its hue angle is 323.93°, with 82.35% saturation and 40% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 6.1:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 3.33.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc0066 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.122 |
Shades
#ba1277 mixed progressively with black.
Tints
#ba1277 mixed progressively with white.
Tones
#ba1277 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ba1277 {
color: #ba1277;
}
.bg-ba1277 {
background-color: #ba1277;
color: #ffffff;
}
.border-ba1277 {
border: 2px solid #ba1277;
}
:root {
--color-primary: #ba1277;
--color-primary-rgb: 186 18 119;
--color-primary-hsl: 324 82% 40%;
}
.gradient-ba1277 {
background: linear-gradient(135deg, #ba1277, #ba1223);
}
.shadow-ba1277 {
box-shadow: 0 8px 24px rgb(186 18 119 / 0.35);
}
Medium Violet Red
#ba1277 rgb(186, 18, 119) hsl(324, 82%, 40%) Medium Violet Red
#12ba55 rgb(18, 186, 85) hsl(144, 82%, 40%) Medium Sea Green
#77ba12 rgb(119, 186, 18) hsl(84, 82%, 40%) Apple Green
#1277ba rgb(18, 119, 186) hsl(204, 82%, 40%) French Blue