#a124ac
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 | #a124ac | |
| RGB | rgb(161 36 172) | |
| HSL | hsl(295.15 65.38% 40.78%) | |
| OKLCH | oklch(0.52 0.22 324.39) | |
| CMYK | cmyk(6.4% 79.07% 0% 32.55%) | |
| Android | #ffa124ac |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.24:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.36: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="#a124ac"
Gradient stop
<stop stop-color="#a124ac"/>
CSS variable + fill
:root { --c: #a124ac; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a124ac; background-color: #a124ac; bg-[#a124ac]