#bf4040
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 | #bf4040 | |
| RGB | rgb(191 64 64) | |
| HSL | hsl(0 49.8% 50%) | |
| OKLCH | oklch(0.55 0.16 24.18) | |
| CMYK | cmyk(0% 66.49% 66.49% 25.1%) | |
| Android | #ffbf4040 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.22:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.02: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="#bf4040"
Gradient stop
<stop stop-color="#bf4040"/>
CSS variable + fill
:root { --c: #bf4040; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #bf4040; background-color: #bf4040; bg-[#bf4040]