#b9111f
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 | #b9111f | |
| RGB | rgb(185 17 31) | |
| HSL | hsl(355 83.17% 39.61%) | |
| OKLCH | oklch(0.5 0.2 25.55) | |
| CMYK | cmyk(0% 90.81% 83.24% 27.45%) | |
| Android | #ffb9111f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.63:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.16: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="#b9111f"
Gradient stop
<stop stop-color="#b9111f"/>
CSS variable + fill
:root { --c: #b9111f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b9111f; background-color: #b9111f; bg-[#b9111f]