#ab0c8a ≈ Medium Violet Red
#ab0c8a is a color from the magenta family, with low lightness and strong saturation. In the RGB model it is made of 67.06% red, 4.71% green and 54.12% blue; printed in CMYK it uses 0% cyan, 92.98% magenta, 19.3% yellow and 32.94% black. Its hue angle is 312.45°, with 86.89% saturation and 35.88% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 6.66:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 7.11.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #990099 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1076 |
Shades
#ab0c8a mixed progressively with black.
Tints
#ab0c8a mixed progressively with white.
Tones
#ab0c8a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ab0c8a {
color: #ab0c8a;
}
.bg-ab0c8a {
background-color: #ab0c8a;
color: #ffffff;
}
.border-ab0c8a {
border: 2px solid #ab0c8a;
}
:root {
--color-primary: #ab0c8a;
--color-primary-rgb: 171 12 138;
--color-primary-hsl: 312 87% 36%;
}
.gradient-ab0c8a {
background: linear-gradient(135deg, #ab0c8a, #ab0c3b);
}
.shadow-ab0c8a {
box-shadow: 0 8px 24px rgb(171 12 138 / 0.35);
}
Medium Violet Red
#ab0c8a rgb(171, 12, 138) hsl(312, 87%, 36%) Medium Violet Red
#0cab2d rgb(12, 171, 45) hsl(132, 87%, 36%) Kelly Green
#8aab0c rgb(138, 171, 12) hsl(72, 87%, 36%) Apple Green
#0c8aab rgb(12, 138, 171) hsl(192, 87%, 36%) Bondi Blue