#b7166c
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 | #b7166c | |
| RGB | rgb(183 22 108) | |
| HSL | hsl(327.95 78.54% 40.2%) | |
| OKLCH | oklch(0.52 0.2 355.7) | |
| CMYK | cmyk(0% 87.98% 40.98% 28.24%) | |
| Android | #ffb7166c |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.27:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.34: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="#b7166c"
Gradient stop
<stop stop-color="#b7166c"/>
CSS variable + fill
:root { --c: #b7166c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b7166c; background-color: #b7166c; bg-[#b7166c]