#ab248c ≈ Medium Violet Red
#ab248c is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 67.06% red, 14.12% green and 54.9% blue; printed in CMYK it uses 0% cyan, 78.95% magenta, 18.13% yellow and 32.94% black. Its hue angle is 313.78°, with 65.22% saturation and 40.59% 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.25:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.28.
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.1181 |
Shades
#ab248c mixed progressively with black.
Tints
#ab248c mixed progressively with white.
Tones
#ab248c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ab248c {
color: #ab248c;
}
.bg-ab248c {
background-color: #ab248c;
color: #ffffff;
}
.border-ab248c {
border: 2px solid #ab248c;
}
:root {
--color-primary: #ab248c;
--color-primary-rgb: 171 36 140;
--color-primary-hsl: 314 65% 41%;
}
.gradient-ab248c {
background: linear-gradient(135deg, #ab248c, #ab2448);
}
.shadow-ab248c {
box-shadow: 0 8px 24px rgb(171 36 140 / 0.35);
}
Medium Violet Red
#ab248c rgb(171, 36, 140) hsl(314, 65%, 41%) Medium Violet Red
#24ab43 rgb(36, 171, 67) hsl(134, 65%, 41%) Medium Sea Green
#8cab24 rgb(140, 171, 36) hsl(74, 65%, 41%) Apple Green
#248cab rgb(36, 140, 171) hsl(194, 65%, 41%) Bondi Blue