#a01c8d
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 | #a01c8d | |
| RGB | rgb(160 28 141) | |
| HSL | hsl(308.64 70.21% 36.86%) | |
| OKLCH | oklch(0.49 0.2 335.16) | |
| CMYK | cmyk(0% 82.5% 11.88% 37.25%) | |
| Android | #ffa01c8d |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.89:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.04: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="#a01c8d"
Gradient stop
<stop stop-color="#a01c8d"/>
CSS variable + fill
:root { --c: #a01c8d; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a01c8d; background-color: #a01c8d; bg-[#a01c8d]