#a118bc
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 | #a118bc | |
| RGB | rgb(161 24 188) | |
| HSL | hsl(290.12 77.36% 41.57%) | |
| OKLCH | oklch(0.52 0.24 319.8) | |
| CMYK | cmyk(14.36% 87.23% 0% 26.27%) | |
| Android | #ffa118bc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.22:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.37: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="#a118bc"
Gradient stop
<stop stop-color="#a118bc"/>
CSS variable + fill
:root { --c: #a118bc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a118bc; background-color: #a118bc; bg-[#a118bc]