#bb309b
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 | #bb309b | |
| RGB | rgb(187 48 155) | |
| HSL | hsl(313.81 59.15% 46.08%) | |
| OKLCH | oklch(0.56 0.21 338.99) | |
| CMYK | cmyk(0% 74.33% 17.11% 26.67%) | |
| Android | #ffbb309b |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.23:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.00: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="#bb309b"
Gradient stop
<stop stop-color="#bb309b"/>
CSS variable + fill
:root { --c: #bb309b; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #bb309b; background-color: #bb309b; bg-[#bb309b]