#b9331a
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 | #b9331a | |
| RGB | rgb(185 51 26) | |
| HSL | hsl(9.43 75.36% 41.37%) | |
| OKLCH | oklch(0.52 0.17 32.65) | |
| CMYK | cmyk(0% 72.43% 85.95% 27.45%) | |
| Android | #ffb9331a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.91:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.55: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="#b9331a"
Gradient stop
<stop stop-color="#b9331a"/>
CSS variable + fill
:root { --c: #b9331a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b9331a; background-color: #b9331a; bg-[#b9331a]