#f0335e
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 | #f0335e | |
| RGB | rgb(240 51 94) | |
| HSL | hsl(346.35 86.3% 57.06%) | |
| OKLCH | oklch(0.63 0.22 14.3) | |
| CMYK | cmyk(0% 78.75% 60.83% 5.88%) | |
| Android | #fff0335e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.93:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.34: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="#f0335e"
Gradient stop
<stop stop-color="#f0335e"/>
CSS variable + fill
:root { --c: #f0335e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f0335e; background-color: #f0335e; bg-[#f0335e]