#ab007f ≈ Medium Violet Red
#ab007f is a color from the magenta family, with low lightness and strong saturation. In the RGB model it is made of 67.06% red, 0% green and 49.8% blue; printed in CMYK it uses 0% cyan, 100% magenta, 25.73% yellow and 32.94% black. Its hue angle is 315.44°, with 100% saturation and 33.53% lightness in HSL. It sits between warm and cool, and is often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and corporate identities. White text on this color reaches a contrast ratio of 6.91:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.66.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #990066 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1019 |
Shades
#ab007f mixed progressively with black.
Tints
#ab007f mixed progressively with white.
Tones
#ab007f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ab007f {
color: #ab007f;
}
.bg-ab007f {
background-color: #ab007f;
color: #ffffff;
}
.border-ab007f {
border: 2px solid #ab007f;
}
:root {
--color-primary: #ab007f;
--color-primary-rgb: 171 0 127;
--color-primary-hsl: 315 100% 34%;
}
.gradient-ab007f {
background: linear-gradient(135deg, #ab007f, #ab0029);
}
.shadow-ab007f {
box-shadow: 0 8px 24px rgb(171 0 127 / 0.35);
}
Medium Violet Red
#ab007f rgb(171, 0, 127) hsl(315, 100%, 34%) Medium Violet Red
#00ab2c rgb(0, 171, 44) hsl(135, 100%, 34%) Kelly Green
#7fab00 rgb(127, 171, 0) hsl(75, 100%, 34%) Apple Green
#007fab rgb(0, 127, 171) hsl(195, 100%, 34%) Cerulean