#ba062d
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 | #ba062d | |
| RGB | rgb(186 6 45) | |
| HSL | hsl(347 93.75% 37.65%) | |
| OKLCH | oklch(0.5 0.2 20.89) | |
| CMYK | cmyk(0% 96.77% 75.81% 27.06%) | |
| Android | #ffba062d |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.66:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.15: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="#ba062d"
Gradient stop
<stop stop-color="#ba062d"/>
CSS variable + fill
:root { --c: #ba062d; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ba062d; background-color: #ba062d; bg-[#ba062d]