#b8331a
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 | #b8331a | |
| RGB | rgb(184 51 26) | |
| HSL | hsl(9.49 75.24% 41.18%) | |
| OKLCH | oklch(0.52 0.17 32.7) | |
| CMYK | cmyk(0% 72.28% 85.87% 27.84%) | |
| Android | #ffb8331a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.95:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.52: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="#b8331a"
Gradient stop
<stop stop-color="#b8331a"/>
CSS variable + fill
:root { --c: #b8331a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b8331a; background-color: #b8331a; bg-[#b8331a]