#ba0bbd
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 | #ba0bbd | |
| RGB | rgb(186 11 189) | |
| HSL | hsl(298.99 89% 39.22%) | |
| OKLCH | oklch(0.56 0.25 327.46) | |
| CMYK | cmyk(1.59% 94.18% 0% 25.88%) | |
| Android | #ffba0bbd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.42:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.87: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="#ba0bbd"
Gradient stop
<stop stop-color="#ba0bbd"/>
CSS variable + fill
:root { --c: #ba0bbd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ba0bbd; background-color: #ba0bbd; bg-[#ba0bbd]