#ba117d ≈ Medium Violet Red
#ba117d is a color from the rose family, with low lightness and strong saturation. In the RGB model it is made of 72.94% red, 6.67% green and 49.02% blue; printed in CMYK it uses 0% cyan, 90.86% magenta, 32.8% yellow and 27.06% black. Its hue angle is 321.66°, with 83.25% saturation and 39.8% 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.06:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 2.91.
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.1232 |
Shades
#ba117d mixed progressively with black.
Tints
#ba117d mixed progressively with white.
Tones
#ba117d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ba117d {
color: #ba117d;
}
.bg-ba117d {
background-color: #ba117d;
color: #ffffff;
}
.border-ba117d {
border: 2px solid #ba117d;
}
:root {
--color-primary: #ba117d;
--color-primary-rgb: 186 17 125;
--color-primary-hsl: 322 83% 40%;
}
.gradient-ba117d {
background: linear-gradient(135deg, #ba117d, #ba1128);
}
.shadow-ba117d {
box-shadow: 0 8px 24px rgb(186 17 125 / 0.35);
}
Medium Violet Red
#ba117d rgb(186, 17, 125) hsl(322, 83%, 40%) Medium Violet Red
#11ba4e rgb(17, 186, 78) hsl(142, 83%, 40%) Emerald
#7dba11 rgb(125, 186, 17) hsl(82, 83%, 40%) Apple Green
#117dba rgb(17, 125, 186) hsl(202, 83%, 40%) Steel Blue