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