#a401b8
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 | #a401b8 | |
| RGB | rgb(164 1 184) | |
| HSL | hsl(293.44 98.92% 36.27%) | |
| OKLCH | oklch(0.52 0.25 322.26) | |
| CMYK | cmyk(10.87% 99.46% 0% 27.84%) | |
| Android | #ffa401b8 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.41:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.27: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="#a401b8"
Gradient stop
<stop stop-color="#a401b8"/>
CSS variable + fill
:root { --c: #a401b8; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a401b8; background-color: #a401b8; bg-[#a401b8]