#b166b6
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 | #b166b6 | |
| RGB | rgb(177 102 182) | |
| HSL | hsl(296.25 35.4% 55.69%) | |
| OKLCH | oklch(0.62 0.14 324.83) | |
| CMYK | cmyk(2.75% 43.96% 0% 28.63%) | |
| Android | #ffb166b6 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.85:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.44:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#b166b6"
Gradient stop
<stop stop-color="#b166b6"/>
CSS variable + fill
:root { --c: #b166b6; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b166b6; background-color: #b166b6; bg-[#b166b6]