#ba526f
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 | #ba526f | |
| RGB | rgb(186 82 111) | |
| HSL | hsl(343.27 42.98% 52.55%) | |
| OKLCH | oklch(0.58 0.14 4.89) | |
| CMYK | cmyk(0% 55.91% 40.32% 27.06%) | |
| Android | #ffba526f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.64:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.52:1
Pass 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="#ba526f"
Gradient stop
<stop stop-color="#ba526f"/>
CSS variable + fill
:root { --c: #ba526f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ba526f; background-color: #ba526f; bg-[#ba526f]