#ba282a
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 | #ba282a | |
| RGB | rgb(186 40 42) | |
| HSL | hsl(359.18 64.6% 44.31%) | |
| OKLCH | oklch(0.52 0.18 25.82) | |
| CMYK | cmyk(0% 78.49% 77.42% 27.06%) | |
| Android | #ffba282a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.13:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.42: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="#ba282a"
Gradient stop
<stop stop-color="#ba282a"/>
CSS variable + fill
:root { --c: #ba282a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ba282a; background-color: #ba282a; bg-[#ba282a]