#a6749f
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 | #a6749f | |
| RGB | rgb(166 116 159) | |
| HSL | hsl(308.4 21.93% 55.29%) | |
| OKLCH | oklch(0.62 0.09 331.53) | |
| CMYK | cmyk(0% 30.12% 4.22% 34.9%) | |
| Android | #ffa6749f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.73:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.62:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#a6749f"
Gradient stop
<stop stop-color="#a6749f"/>
CSS variable + fill
:root { --c: #a6749f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a6749f; background-color: #a6749f; bg-[#a6749f]