#ab2f76 ≈ Medium Violet Red
#ab2f76 is a color from the rose family, with medium lightness and moderate saturation. In the RGB model it is made of 67.06% red, 18.43% green and 46.27% blue; printed in CMYK it uses 0% cyan, 72.51% magenta, 30.99% yellow and 32.94% black. Its hue angle is 325.65°, with 56.88% saturation and 42.75% 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.18:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 5.09.
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.12 |
Shades
#ab2f76 mixed progressively with black.
Tints
#ab2f76 mixed progressively with white.
Tones
#ab2f76 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ab2f76 {
color: #ab2f76;
}
.bg-ab2f76 {
background-color: #ab2f76;
color: #ffffff;
}
.border-ab2f76 {
border: 2px solid #ab2f76;
}
:root {
--color-primary: #ab2f76;
--color-primary-rgb: 171 47 118;
--color-primary-hsl: 326 57% 43%;
}
.gradient-ab2f76 {
background: linear-gradient(135deg, #ab2f76, #ab2f38);
}
.shadow-ab2f76 {
box-shadow: 0 8px 24px rgb(171 47 118 / 0.35);
}
Medium Violet Red
#ab2f76 rgb(171, 47, 118) hsl(326, 57%, 43%) Medium Violet Red
#2fab64 rgb(47, 171, 100) hsl(146, 57%, 43%) Medium Sea Green
#76ab2f rgb(118, 171, 47) hsl(86, 57%, 43%) Apple Green
#2f76ab rgb(47, 118, 171) hsl(206, 57%, 43%) French Blue