#ba346b
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 | #ba346b | |
| RGB | rgb(186 52 107) | |
| HSL | hsl(335.37 56.3% 46.67%) | |
| OKLCH | oklch(0.54 0.18 359.96) | |
| CMYK | cmyk(0% 72.04% 42.47% 27.06%) | |
| Android | #ffba346b |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.53:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.79: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="#ba346b"
Gradient stop
<stop stop-color="#ba346b"/>
CSS variable + fill
:root { --c: #ba346b; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ba346b; background-color: #ba346b; bg-[#ba346b]