#f02a3f
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 | #f02a3f | |
| RGB | rgb(240 42 63) | |
| HSL | hsl(353.64 86.84% 55.29%) | |
| OKLCH | oklch(0.62 0.23 22.63) | |
| CMYK | cmyk(0% 82.5% 73.75% 5.88%) | |
| Android | #fff02a3f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.11:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.10: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="#f02a3f"
Gradient stop
<stop stop-color="#f02a3f"/>
CSS variable + fill
:root { --c: #f02a3f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f02a3f; background-color: #f02a3f; bg-[#f02a3f]