#ba1d43
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 | #ba1d43 | |
| RGB | rgb(186 29 67) | |
| HSL | hsl(345.48 73.02% 42.16%) | |
| OKLCH | oklch(0.51 0.19 14.82) | |
| CMYK | cmyk(0% 84.41% 63.98% 27.06%) | |
| Android | #ffba1d43 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.27:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.34: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="#ba1d43"
Gradient stop
<stop stop-color="#ba1d43"/>
CSS variable + fill
:root { --c: #ba1d43; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ba1d43; background-color: #ba1d43; bg-[#ba1d43]