#b52dbd
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 | #b52dbd | |
| RGB | rgb(181 45 189) | |
| HSL | hsl(296.67 61.54% 45.88%) | |
| OKLCH | oklch(0.57 0.23 325.59) | |
| CMYK | cmyk(4.23% 76.19% 0% 25.88%) | |
| Android | #ffb52dbd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.15:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.07: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="#b52dbd"
Gradient stop
<stop stop-color="#b52dbd"/>
CSS variable + fill
:root { --c: #b52dbd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b52dbd; background-color: #b52dbd; bg-[#b52dbd]