#b52caa
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 | #b52caa | |
| RGB | rgb(181 44 170) | |
| HSL | hsl(304.82 60.89% 44.12%) | |
| OKLCH | oklch(0.55 0.22 331.68) | |
| CMYK | cmyk(0% 75.69% 6.08% 29.02%) | |
| Android | #ffb52caa |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.37:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.90: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="#b52caa"
Gradient stop
<stop stop-color="#b52caa"/>
CSS variable + fill
:root { --c: #b52caa; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b52caa; background-color: #b52caa; bg-[#b52caa]