#f0214c
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 | #f0214c | |
| RGB | rgb(240 33 76) | |
| HSL | hsl(347.54 87.34% 53.53%) | |
| OKLCH | oklch(0.62 0.23 18.11) | |
| CMYK | cmyk(0% 86.25% 68.33% 5.88%) | |
| Android | #fff0214c |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.17:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.02: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="#f0214c"
Gradient stop
<stop stop-color="#f0214c"/>
CSS variable + fill
:root { --c: #f0214c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f0214c; background-color: #f0214c; bg-[#f0214c]