#f02c62
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 | #f02c62 | |
| RGB | rgb(240 44 98) | |
| HSL | hsl(343.47 86.73% 55.69%) | |
| OKLCH | oklch(0.63 0.23 12.13) | |
| CMYK | cmyk(0% 81.67% 59.17% 5.88%) | |
| Android | #fff02c62 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.00:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.24: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="#f02c62"
Gradient stop
<stop stop-color="#f02c62"/>
CSS variable + fill
:root { --c: #f02c62; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f02c62; background-color: #f02c62; bg-[#f02c62]