#b5182b
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 | #b5182b | |
| RGB | rgb(181 24 43) | |
| HSL | hsl(352.74 76.59% 40.2%) | |
| OKLCH | oklch(0.5 0.19 22.65) | |
| CMYK | cmyk(0% 86.74% 76.24% 29.02%) | |
| Android | #ffb5182b |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.70:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.13: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="#b5182b"
Gradient stop
<stop stop-color="#b5182b"/>
CSS variable + fill
:root { --c: #b5182b; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b5182b; background-color: #b5182b; bg-[#b5182b]