#a71192
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 | #a71192 | |
| RGB | rgb(167 17 146) | |
| HSL | hsl(308.4 81.52% 36.08%) | |
| OKLCH | oklch(0.5 0.21 335.51) | |
| CMYK | cmyk(0% 89.82% 12.57% 34.51%) | |
| Android | #ffa71192 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.69:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.13: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="#a71192"
Gradient stop
<stop stop-color="#a71192"/>
CSS variable + fill
:root { --c: #a71192; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a71192; background-color: #a71192; bg-[#a71192]