#f2181a
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 | #f2181a | |
| RGB | rgb(242 24 26) | |
| HSL | hsl(359.45 89.34% 52.16%) | |
| OKLCH | oklch(0.61 0.24 28.2) | |
| CMYK | cmyk(0% 90.08% 89.26% 5.1%) | |
| Android | #fff2181a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.26:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.92: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="#f2181a"
Gradient stop
<stop stop-color="#f2181a"/>
CSS variable + fill
:root { --c: #f2181a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f2181a; background-color: #f2181a; bg-[#f2181a]