#a54571
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 | #a54571 | |
| RGB | rgb(165 69 113) | |
| HSL | hsl(332.5 41.03% 45.88%) | |
| OKLCH | oklch(0.53 0.14 354.08) | |
| CMYK | cmyk(0% 58.18% 31.52% 35.29%) | |
| Android | #ffa54571 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.69:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.68: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="#a54571"
Gradient stop
<stop stop-color="#a54571"/>
CSS variable + fill
:root { --c: #a54571; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a54571; background-color: #a54571; bg-[#a54571]