#bb168e
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 | #bb168e | |
| RGB | rgb(187 22 142) | |
| HSL | hsl(316.36 78.95% 40.98%) | |
| OKLCH | oklch(0.54 0.22 343.12) | |
| CMYK | cmyk(0% 88.24% 24.06% 26.67%) | |
| Android | #ffbb168e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.80:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.61: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="#bb168e"
Gradient stop
<stop stop-color="#bb168e"/>
CSS variable + fill
:root { --c: #bb168e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #bb168e; background-color: #bb168e; bg-[#bb168e]