#ab407f ≈ Medium Violet Red
#ab407f is a color from the rose family, with medium lightness and moderate saturation. In the RGB model it is made of 67.06% red, 25.1% green and 49.8% blue; printed in CMYK it uses 0% cyan, 62.57% magenta, 25.73% yellow and 32.94% black. Its hue angle is 324.67°, with 45.53% saturation and 46.08% 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 5.57.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #993366 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1386 |
Shades
#ab407f mixed progressively with black.
Tints
#ab407f mixed progressively with white.
Tones
#ab407f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ab407f {
color: #ab407f;
}
.bg-ab407f {
background-color: #ab407f;
color: #ffffff;
}
.border-ab407f {
border: 2px solid #ab407f;
}
:root {
--color-primary: #ab407f;
--color-primary-rgb: 171 64 127;
--color-primary-hsl: 325 46% 46%;
}
.gradient-ab407f {
background: linear-gradient(135deg, #ab407f, #ab404a);
}
.shadow-ab407f {
box-shadow: 0 8px 24px rgb(171 64 127 / 0.35);
}
Medium Violet Red
#ab407f rgb(171, 64, 127) hsl(325, 46%, 46%) Medium Violet Red
#40ab6c rgb(64, 171, 108) hsl(145, 46%, 46%) Medium Sea Green
#7fab40 rgb(127, 171, 64) hsl(85, 46%, 46%) Apple Green
#407fab rgb(64, 127, 171) hsl(205, 46%, 46%) Steel Blue