#bf02ba
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 | #bf02ba | |
| RGB | rgb(191 2 186) | |
| HSL | hsl(301.59 97.93% 37.84%) | |
| OKLCH | oklch(0.56 0.26 329.78) | |
| CMYK | cmyk(0% 98.95% 2.62% 25.1%) | |
| Android | #ffbf02ba |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.33:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.93: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="#bf02ba"
Gradient stop
<stop stop-color="#bf02ba"/>
CSS variable + fill
:root { --c: #bf02ba; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #bf02ba; background-color: #bf02ba; bg-[#bf02ba]