#fb4131
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 | #fb4131 | |
| RGB | rgb(251 65 49) | |
| HSL | hsl(4.75 96.19% 58.82%) | |
| OKLCH | oklch(0.65 0.22 29.46) | |
| CMYK | cmyk(0% 74.1% 80.48% 1.57%) | |
| Android | #fffb4131 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.55:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.90:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#fb4131"
Gradient stop
<stop stop-color="#fb4131"/>
CSS variable + fill
:root { --c: #fb4131; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #fb4131; background-color: #fb4131; bg-[#fb4131]