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