#bb5799
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 | #bb5799 | |
| RGB | rgb(187 87 153) | |
| HSL | hsl(320.4 42.37% 53.73%) | |
| OKLCH | oklch(0.6 0.15 342.32) | |
| CMYK | cmyk(0% 53.48% 18.18% 26.67%) | |
| Android | #ffbb5799 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.25:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.93: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="#bb5799"
Gradient stop
<stop stop-color="#bb5799"/>
CSS variable + fill
:root { --c: #bb5799; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #bb5799; background-color: #bb5799; bg-[#bb5799]