#ba05bf
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 | #ba05bf | |
| RGB | rgb(186 5 191) | |
| HSL | hsl(298.39 94.9% 38.43%) | |
| OKLCH | oklch(0.56 0.26 326.92) | |
| CMYK | cmyk(2.62% 97.38% 0% 25.1%) | |
| Android | #ffba05bf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.43:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.86: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="#ba05bf"
Gradient stop
<stop stop-color="#ba05bf"/>
CSS variable + fill
:root { --c: #ba05bf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ba05bf; background-color: #ba05bf; bg-[#ba05bf]