#aa298f
Codes, contrast, shades, harmonies and SVG snippets for this color.
- Codes
- Names & lists
- Contrast
- Shades & tints
- Harmonies
- Color-blindness
- SVG snippets
- CSS
- Related colors
Codes
| Format | Value | |
|---|---|---|
| HEX | #aa298f | |
| RGB | rgb(170 41 143) | |
| HSL | hsl(312.56 61.14% 41.37%) | |
| OKLCH | oklch(0.52 0.2 338.01) | |
| CMYK | cmyk(0% 75.88% 15.88% 33.33%) | |
| Android | #ffaa298f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.13:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.42:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#aa298f"
Gradient stop
<stop stop-color="#aa298f"/>
CSS variable + fill
:root { --c: #aa298f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #aa298f; background-color: #aa298f; bg-[#aa298f]