#ab297e ≈ Medium Violet Red
#ab297e is a color from the rose family, with medium lightness and strong saturation. In the RGB model it is made of 67.06% red, 16.08% green and 49.41% blue; printed in CMYK it uses 0% cyan, 76.02% magenta, 26.32% yellow and 32.94% black. Its hue angle is 320.77°, with 61.32% saturation and 41.57% lightness in HSL. It sits between warm and cool, and is often associated with romance, playfulness and affection. Designers typically use it for food and restaurant brands, sales and promotions and brand accents. White text on this color reaches a contrast ratio of 6.27:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 4.98.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #993366 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1175 |
Shades
#ab297e mixed progressively with black.
Tints
#ab297e mixed progressively with white.
Tones
#ab297e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ab297e {
color: #ab297e;
}
.bg-ab297e {
background-color: #ab297e;
color: #ffffff;
}
.border-ab297e {
border: 2px solid #ab297e;
}
:root {
--color-primary: #ab297e;
--color-primary-rgb: 171 41 126;
--color-primary-hsl: 321 61% 42%;
}
.gradient-ab297e {
background: linear-gradient(135deg, #ab297e, #ab293d);
}
.shadow-ab297e {
box-shadow: 0 8px 24px rgb(171 41 126 / 0.35);
}
Medium Violet Red
#ab297e rgb(171, 41, 126) hsl(321, 61%, 42%) Medium Violet Red
#29ab56 rgb(41, 171, 86) hsl(141, 61%, 42%) Medium Sea Green
#7eab29 rgb(126, 171, 41) hsl(81, 61%, 42%) Apple Green
#297eab rgb(41, 126, 171) hsl(201, 61%, 42%) Cerulean