#b11fa2
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 | #b11fa2 | |
| RGB | rgb(177 31 162) | |
| HSL | hsl(306.16 70.19% 40.78%) | |
| OKLCH | oklch(0.54 0.22 333.11) | |
| CMYK | cmyk(0% 82.49% 8.47% 30.59%) | |
| Android | #ffb11fa2 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.85:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.58: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="#b11fa2"
Gradient stop
<stop stop-color="#b11fa2"/>
CSS variable + fill
:root { --c: #b11fa2; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b11fa2; background-color: #b11fa2; bg-[#b11fa2]