#b2871b
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 | #b2871b | |
| RGB | rgb(178 135 27) | |
| HSL | hsl(42.91 73.66% 40.2%) | |
| OKLCH | oklch(0.65 0.13 84.36) | |
| CMYK | cmyk(0% 24.16% 84.83% 30.2%) | |
| Android | #ffb2871b |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.29:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.37:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#b2871b"
Gradient stop
<stop stop-color="#b2871b"/>
CSS variable + fill
:root { --c: #b2871b; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b2871b; background-color: #b2871b; bg-[#b2871b]