#b2471c
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 | #b2471c | |
| RGB | rgb(178 71 28) | |
| HSL | hsl(17.2 72.82% 40.39%) | |
| OKLCH | oklch(0.54 0.15 40.13) | |
| CMYK | cmyk(0% 60.11% 84.27% 30.2%) | |
| Android | #ffb2471c |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.51:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.81: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="#b2471c"
Gradient stop
<stop stop-color="#b2471c"/>
CSS variable + fill
:root { --c: #b2471c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b2471c; background-color: #b2471c; bg-[#b2471c]