#ba036e
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 | #ba036e | |
| RGB | rgb(186 3 110) | |
| HSL | hsl(324.92 96.83% 37.06%) | |
| OKLCH | oklch(0.52 0.21 354.9) | |
| CMYK | cmyk(0% 98.39% 40.86% 27.06%) | |
| Android | #ffba036e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.31:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.32: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="#ba036e"
Gradient stop
<stop stop-color="#ba036e"/>
CSS variable + fill
:root { --c: #ba036e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ba036e; background-color: #ba036e; bg-[#ba036e]