#bb156c
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 | #bb156c | |
| RGB | rgb(187 21 108) | |
| HSL | hsl(328.55 79.81% 40.78%) | |
| OKLCH | oklch(0.52 0.2 356.66) | |
| CMYK | cmyk(0% 88.77% 42.25% 26.67%) | |
| Android | #ffbb156c |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.11:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.43: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="#bb156c"
Gradient stop
<stop stop-color="#bb156c"/>
CSS variable + fill
:root { --c: #bb156c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #bb156c; background-color: #bb156c; bg-[#bb156c]