#AA1F9B color
The hex color #AA1F9B is a moderate magenta.
In the RGB color model it is made of 66.7% red, 12.2% green and 60.8% blue (170, 31, 155).
Its hue angle is 306°, with 69% saturation and 39% lightness. For print, the CMYK equivalent is 0% cyan, 82% magenta, 9% yellow and 33% black.
The closest named color is Magentle (#AA11AA), a difference of 2.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 6.22:1).
#AA1F9B color codes
| HEX | #AA1F9B | |
|---|---|---|
| RGB | rgb(170, 31, 155) | |
| RGB percent | rgb(66.7%, 12.2%, 60.8%) | |
| HSL | hsl(306, 69%, 39%) | |
| HSV / HSB | hsv(306, 82%, 67%) | |
| CMYK | cmyk(0%, 82%, 9%, 33%) | |
| CIE LAB | lab(41.05, 65.61, -34.74) | |
| CIE LCH | lch(41.05, 74.24, 332.1) | |
| CIE XYZ | xyz(22.984, 11.895, 32.089) | |
| Decimal | 11149211 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AA1F9B, 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 #AA1F9B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.38:1 | Fail | Fail | Pass |
| Sample text | 6.22:1 | Pass | Fail | Pass |
| #AA1F9B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.22:1 | Pass | Fail | Pass |
| Sample text | 3.38:1 | Fail | 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 #AA1F9B looks to people with the most common types of color vision deficiency.
#17549eProtanopia
no red cones#526898Deuteranopia
no green cones#b2305eTritanopia
no blue cones#616161Achromatopsia
no color vision
CSS examples
.background { background-color: #aa1f9b; }
.text { color: #aa1f9b; }
.border { border: 2px solid #aa1f9b; }
.transparent { background-color: rgb(170 31 155 / 50%); }
.gradient { background: linear-gradient(to right, #aa1f9b, #aa1f55); }
Similar colors
#aa11aaMagentle#bb0099Jealous Jellyfish#bb00aaPurple Pirate#bb11aaPunk Rock Purple#9a2ca0Purple Ink#952e8fWarm Purple#bb22aaAmora Purple#943589Purple Excellency
Closest common color name: Dark Magenta.
Questions
- What color is #AA1F9B?
- #AA1F9B is a moderate magenta, closest to the named color Magentle. It belongs to the purple family of colors.
- What is the RGB value of #AA1F9B?
- The RGB value is 170, 31, 155: 170 red, 31 green and 155 blue on a 0 to 255 scale.
- What is the complementary color of #AA1F9B?
- The complementary color is #1FAA2E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AA1F9B?
- White text. Black text has a contrast ratio of 3.38:1 and white text 6.22:1. WCAG asks for at least 4.5:1 for normal text.