#ba3fa4
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 | #ba3fa4 | |
| RGB | rgb(186 63 164) | |
| HSL | hsl(310.73 49.4% 48.82%) | |
| OKLCH | oklch(0.58 0.19 335.68) | |
| CMYK | cmyk(0% 66.13% 11.83% 27.06%) | |
| Android | #ffba3fa4 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.84:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.33: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="#ba3fa4"
Gradient stop
<stop stop-color="#ba3fa4"/>
CSS variable + fill
:root { --c: #ba3fa4; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ba3fa4; background-color: #ba3fa4; bg-[#ba3fa4]