#a61fa4
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 | #a61fa4 | |
| RGB | rgb(166 31 164) | |
| HSL | hsl(300.89 68.53% 38.63%) | |
| OKLCH | oklch(0.52 0.22 328.84) | |
| CMYK | cmyk(0% 81.33% 1.2% 34.9%) | |
| Android | #ffa61fa4 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.26:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.35: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="#a61fa4"
Gradient stop
<stop stop-color="#a61fa4"/>
CSS variable + fill
:root { --c: #a61fa4; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a61fa4; background-color: #a61fa4; bg-[#a61fa4]