#b8331c
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 | #b8331c | |
| RGB | rgb(184 51 28) | |
| HSL | hsl(8.85 73.58% 41.57%) | |
| OKLCH | oklch(0.52 0.17 32.25) | |
| CMYK | cmyk(0% 72.28% 84.78% 27.84%) | |
| Android | #ffb8331c |
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="#b8331c"
Gradient stop
<stop stop-color="#b8331c"/>
CSS variable + fill
:root { --c: #b8331c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b8331c; background-color: #b8331c; bg-[#b8331c]