#ab2c8f ≈ Medium Violet Red
#ab2c8f is a color from the magenta family, with medium lightness and moderate saturation. In the RGB model it is made of 67.06% red, 17.25% green and 56.08% blue; printed in CMYK it uses 0% cyan, 74.27% magenta, 16.37% yellow and 32.94% black. Its hue angle is 313.23°, with 59.07% saturation and 42.16% 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 6.29.
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.1244 |
Shades
#ab2c8f mixed progressively with black.
Tints
#ab2c8f mixed progressively with white.
Tones
#ab2c8f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ab2c8f {
color: #ab2c8f;
}
.bg-ab2c8f {
background-color: #ab2c8f;
color: #ffffff;
}
.border-ab2c8f {
border: 2px solid #ab2c8f;
}
:root {
--color-primary: #ab2c8f;
--color-primary-rgb: 171 44 143;
--color-primary-hsl: 313 59% 42%;
}
.gradient-ab2c8f {
background: linear-gradient(135deg, #ab2c8f, #ab2c50);
}
.shadow-ab2c8f {
box-shadow: 0 8px 24px rgb(171 44 143 / 0.35);
}
Medium Violet Red
#ab2c8f rgb(171, 44, 143) hsl(313, 59%, 42%) Medium Violet Red
#2cab48 rgb(44, 171, 72) hsl(133, 59%, 42%) Medium Sea Green
#8fab2c rgb(143, 171, 44) hsl(73, 59%, 42%) Apple Green
#2c8fab rgb(44, 143, 171) hsl(193, 59%, 42%) Bondi Blue