#bb042a
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 | #bb042a | |
| RGB | rgb(187 4 42) | |
| HSL | hsl(347.54 95.81% 37.45%) | |
| OKLCH | oklch(0.5 0.2 21.78) | |
| CMYK | cmyk(0% 97.86% 77.54% 26.67%) | |
| Android | #ffbb042a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.63:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.16: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="#bb042a"
Gradient stop
<stop stop-color="#bb042a"/>
CSS variable + fill
:root { --c: #bb042a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #bb042a; background-color: #bb042a; bg-[#bb042a]