#ba232a
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 | #ba232a | |
| RGB | rgb(186 35 42) | |
| HSL | hsl(357.22 68.33% 43.33%) | |
| OKLCH | oklch(0.51 0.19 24.89) | |
| CMYK | cmyk(0% 81.18% 77.42% 27.06%) | |
| Android | #ffba232a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.24:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.36: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="#ba232a"
Gradient stop
<stop stop-color="#ba232a"/>
CSS variable + fill
:root { --c: #ba232a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ba232a; background-color: #ba232a; bg-[#ba232a]