#bb22ab
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 | #bb22ab | |
| RGB | rgb(187 34 171) | |
| HSL | hsl(306.27 69.23% 43.33%) | |
| OKLCH | oklch(0.56 0.23 333.18) | |
| CMYK | cmyk(0% 81.82% 8.56% 26.67%) | |
| Android | #ffbb22ab |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.34:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.92: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="#bb22ab"
Gradient stop
<stop stop-color="#bb22ab"/>
CSS variable + fill
:root { --c: #bb22ab; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #bb22ab; background-color: #bb22ab; bg-[#bb22ab]