#ac2f7a ≈ Medium Violet Red
#ac2f7a is a color from the rose family, with medium lightness and moderate saturation. In the RGB model it is made of 67.45% red, 18.43% green and 47.84% blue; printed in CMYK it uses 0% cyan, 72.67% magenta, 29.07% yellow and 32.55% black. Its hue angle is 324°, with 57.08% saturation and 42.94% 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.1:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 4.71.
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.1221 |
Shades
#ac2f7a mixed progressively with black.
Tints
#ac2f7a mixed progressively with white.
Tones
#ac2f7a mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ac2f7a {
color: #ac2f7a;
}
.bg-ac2f7a {
background-color: #ac2f7a;
color: #ffffff;
}
.border-ac2f7a {
border: 2px solid #ac2f7a;
}
:root {
--color-primary: #ac2f7a;
--color-primary-rgb: 172 47 122;
--color-primary-hsl: 324 57% 43%;
}
.gradient-ac2f7a {
background: linear-gradient(135deg, #ac2f7a, #ac2f3b);
}
.shadow-ac2f7a {
box-shadow: 0 8px 24px rgb(172 47 122 / 0.35);
}
Medium Violet Red
#ac2f7a rgb(172, 47, 122) hsl(324, 57%, 43%) Medium Violet Red
#2fac61 rgb(47, 172, 97) hsl(144, 57%, 43%) Medium Sea Green
#7aac2f rgb(122, 172, 47) hsl(84, 57%, 43%) Apple Green
#2f7aac rgb(47, 122, 172) hsl(204, 57%, 43%) Steel Blue