#ab219e
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 | #ab219e | |
| RGB | rgb(171 33 158) | |
| HSL | hsl(305.65 67.65% 40%) | |
| OKLCH | oklch(0.52 0.21 332.57) | |
| CMYK | cmyk(0% 80.7% 7.6% 32.94%) | |
| Android | #ffab219e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.09:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.44: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="#ab219e"
Gradient stop
<stop stop-color="#ab219e"/>
CSS variable + fill
:root { --c: #ab219e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ab219e; background-color: #ab219e; bg-[#ab219e]