#bd151a
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 | #bd151a | |
| RGB | rgb(189 21 26) | |
| HSL | hsl(358.21 80% 41.18%) | |
| OKLCH | oklch(0.51 0.2 27.18) | |
| CMYK | cmyk(0% 88.89% 86.24% 25.88%) | |
| Android | #ffbd151a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.39:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.28: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="#bd151a"
Gradient stop
<stop stop-color="#bd151a"/>
CSS variable + fill
:root { --c: #bd151a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #bd151a; background-color: #bd151a; bg-[#bd151a]