#a9028f
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 | #a9028f | |
| RGB | rgb(169 2 143) | |
| HSL | hsl(309.34 97.66% 33.53%) | |
| OKLCH | oklch(0.5 0.22 337.15) | |
| CMYK | cmyk(0% 98.82% 15.38% 33.73%) | |
| Android | #ffa9028f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.79:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.09: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="#a9028f"
Gradient stop
<stop stop-color="#a9028f"/>
CSS variable + fill
:root { --c: #a9028f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a9028f; background-color: #a9028f; bg-[#a9028f]