#AA77AA color
#AA77AA is a grayish pink colour. It is rgb(170, 119, 170) in RGB and hsl(300, 23%, 57%) in HSL. Text in black reads better on it: the contrast is 5.93:1 against black and 3.54:1 against white.
How to work it out
- 1
A hex code is three pairs of base-16 digits: red, green and blue, from 00 (none) to FF (full).
\mathrm{#AA77AA}:\quad R=\mathrm{AA}_{16}=170,\ G=\mathrm{77}_{16}=119,\ B=\mathrm{AA}_{16}=170 - 2
HSL describes the same colour as a hue angle on the colour wheel (0° red, 120° green, 240° blue), a saturation and a lightness.
- 3
The complementary colour sits opposite on the wheel: add 180° to the hue.
300^\circ + 180^\circ = 120^\circ ;\Rightarrow; \mathrm{#77AA77} - 4
Contrast is the ratio of the lighter to the darker relative luminance, each plus 0.05. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text (AA).
LaTeX source of the formulas on this page
\[ \mathrm{#AA77AA} = \mathrm{rgb}(170, 119, 170) \]
\[ \mathrm{#AA77AA}:\quad R=\mathrm{AA}_{16}=170,\ G=\mathrm{77}_{16}=119,\ B=\mathrm{AA}_{16}=170 \]
\[ H=300^\circ,\quad S=23\%,\quad L=57\% \]
\[ 300^\circ + 180^\circ = 120^\circ ;\Rightarrow; \mathrm{#77AA77} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 3.54:1\ \text{(on white)} \]#AA77AA in every colour format
| Format | Value |
|---|---|
| HEX | #AA77AA |
| RGB | rgb(170, 119, 170) |
| RGB (percent) | rgb(66.7%, 46.7%, 66.7%) |
| HSL | hsl(300, 23%, 57%) |
| HSV / HSB | hsv(300, 30%, 67%) |
| CMYK | cmyk(0%, 30%, 0%, 33%) |
| Decimal | 11171754 |
| Description | grayish pink |
Text contrast (WCAG)
| Background of this colour with… | Contrast | AA normal (4.5) | AA large (3) | AAA normal (7) | AAA large (4.5) |
|---|---|---|---|---|---|
| White text | 3.54:1 | fail | pass | fail | fail |
| Black text | 5.93:1 | pass | pass | fail | pass |
Shades and tints
| Kind | Hex codes (darkest to lightest) |
|---|---|
| Shades (mixed with black) | #1C141C #392839 #553C55 #714F71 #8E638E |
| This colour | #AA77AA |
| Tints (mixed with white) | #B88EB8 #C6A4C6 #D5BBD5 #E3D2E3 #F1E8F1 |
How it looks with colour blindness
| Type | Hex | Distance from the original |
|---|---|---|
| Protanopia | #7384AC | 25 |
| Deuteranopia | #808AA8 | 26 |
| Tritanopia | #AD7B89 | 21 |
| Grayscale | #888888 | - |
Nearest named colours
| Name | Hex |
|---|---|
| Plum | #DDA0DD |
| Pale violet red | #DB7093 |
| Rosy brown | #BC8F8F |
| Thistle | #D8BFD8 |
Questions
What is the RGB value of #AA77AA?
rgb(170, 119, 170): red 170, green 119, blue 170.
What is the HSL value of #AA77AA?
hsl(300, 23%, 57%): a hue of 300°, 23% saturation and 57% lightness.
What is the complementary colour of #AA77AA?
#77AA77, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #558855.
Should I use white or black text on #AA77AA?
Black. White gives 3.54:1 and black 5.93:1; the better one passes WCAG AA for normal text.
What is the CMYK value of #AA77AA?
cmyk(0%, 30%, 0%, 33%). This is a simple formula conversion; printed colours depend on the printer profile.
What is the closest named colour to #AA77AA?
Plum (#DDA0DD).