#a52d84
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 | #a52d84 | |
| RGB | rgb(165 45 132) | |
| HSL | hsl(316.5 57.14% 41.18%) | |
| OKLCH | oklch(0.51 0.18 341.11) | |
| CMYK | cmyk(0% 72.73% 20% 35.29%) | |
| Android | #ffa52d84 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.34:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.30: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="#a52d84"
Gradient stop
<stop stop-color="#a52d84"/>
CSS variable + fill
:root { --c: #a52d84; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a52d84; background-color: #a52d84; bg-[#a52d84]