#ba209e
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 | #ba209e | |
| RGB | rgb(186 32 158) | |
| HSL | hsl(310.91 70.64% 42.75%) | |
| OKLCH | oklch(0.55 0.22 337.25) | |
| CMYK | cmyk(0% 82.8% 15.05% 27.06%) | |
| Android | #ffba209e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.54:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.78: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="#ba209e"
Gradient stop
<stop stop-color="#ba209e"/>
CSS variable + fill
:root { --c: #ba209e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ba209e; background-color: #ba209e; bg-[#ba209e]