#b91c4a
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 | #b91c4a | |
| RGB | rgb(185 28 74) | |
| HSL | hsl(342.42 73.71% 41.76%) | |
| OKLCH | oklch(0.51 0.19 11.6) | |
| CMYK | cmyk(0% 84.86% 60% 27.45%) | |
| Android | #ffb91c4a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.31:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.32: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="#b91c4a"
Gradient stop
<stop stop-color="#b91c4a"/>
CSS variable + fill
:root { --c: #b91c4a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b91c4a; background-color: #b91c4a; bg-[#b91c4a]