#ab2e8a ≈ Medium Violet Red
#ab2e8a is a color from the magenta family, with medium lightness and moderate saturation. In the RGB model it is made of 67.06% red, 18.04% green and 54.12% blue; printed in CMYK it uses 0% cyan, 73.1% magenta, 19.3% yellow and 32.94% black. Its hue angle is 315.84°, with 57.6% saturation and 42.55% 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 brand accents. White text on this color reaches a contrast ratio of 6.02:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 5.64.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #993399 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1245 |
Shades
#ab2e8a mixed progressively with black.
Tints
#ab2e8a mixed progressively with white.
Tones
#ab2e8a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ab2e8a {
color: #ab2e8a;
}
.bg-ab2e8a {
background-color: #ab2e8a;
color: #ffffff;
}
.border-ab2e8a {
border: 2px solid #ab2e8a;
}
:root {
--color-primary: #ab2e8a;
--color-primary-rgb: 171 46 138;
--color-primary-hsl: 316 58% 43%;
}
.gradient-ab2e8a {
background: linear-gradient(135deg, #ab2e8a, #ab2e4c);
}
.shadow-ab2e8a {
box-shadow: 0 8px 24px rgb(171 46 138 / 0.35);
}
Medium Violet Red
#ab2e8a rgb(171, 46, 138) hsl(316, 58%, 43%) Medium Violet Red
#2eab4f rgb(46, 171, 79) hsl(136, 58%, 43%) Medium Sea Green
#8aab2e rgb(138, 171, 46) hsl(76, 58%, 43%) Apple Green
#2e8aab rgb(46, 138, 171) hsl(196, 58%, 43%) Bondi Blue