#AC5791 color
The hex color #AC5791 is a desaturated magenta.
In the RGB color model it is made of 67.5% red, 34.1% green and 56.9% blue (172, 87, 145).
Its hue angle is 319°, with 34% saturation and 51% lightness. For print, the CMYK equivalent is 0% cyan, 49% magenta, 16% yellow and 33% black.
The closest named color is Magenta Memoir (#B4559B), a difference of 2.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 4.64:1).
#AC5791 color codes
| HEX | #AC5791 | |
|---|---|---|
| RGB | rgb(172, 87, 145) | |
| RGB percent | rgb(67.5%, 34.1%, 56.9%) | |
| HSL | hsl(319, 34%, 51%) | |
| HSV / HSB | hsv(319, 49%, 67%) | |
| CMYK | cmyk(0%, 49%, 16%, 33%) | |
| CIE LAB | lab(49.05, 42.24, -16.29) | |
| CIE LCH | lch(49.05, 45.27, 338.91) | |
| CIE XYZ | xyz(25.533, 17.633, 28.841) | |
| Decimal | 11294609 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AC5791, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #AC5791 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.53:1 | Pass | Fail | Pass |
| Sample text | 4.64:1 | Pass | Fail | Pass |
| #AC5791 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.64:1 | Pass | Fail | Pass |
| Sample text | 4.53:1 | Pass | Fail | Pass |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #AC5791 looks to people with the most common types of color vision deficiency.
#5b6c93Protanopia
no red cones#727a8fDeuteranopia
no green cones#b5586dTritanopia
no blue cones#757575Achromatopsia
no color vision
CSS examples
.background { background-color: #ac5791; }
.text { color: #ac5791; }
.border { border: 2px solid #ac5791; }
.transparent { background-color: rgb(172 87 145 / 50%); }
.gradient { background: linear-gradient(to right, #ac5791, #ac5767); }
Similar colors
#b4559bMagenta Memoir#a15589Purple Zergling#9d5a8fBermuda Onion#9d5783Feminism#c35b99Llilacquered#9b4b80Plum Passion#c54b8cMulberry#a84b7aOur Little Secret
Questions
- What color is #AC5791?
- #AC5791 is a desaturated magenta, closest to the named color Magenta Memoir. It belongs to the pink family of colors.
- What is the RGB value of #AC5791?
- The RGB value is 172, 87, 145: 172 red, 87 green and 145 blue on a 0 to 255 scale.
- What is the complementary color of #AC5791?
- The complementary color is #57AC72, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AC5791?
- White text. Black text has a contrast ratio of 4.53:1 and white text 4.64:1. WCAG asks for at least 4.5:1 for normal text.