#f032a2
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 | #f032a2 | |
| RGB | rgb(240 50 162) | |
| HSL | hsl(324.63 86.36% 56.86%) | |
| OKLCH | oklch(0.65 0.24 350.32) | |
| CMYK | cmyk(0% 79.17% 32.5% 5.88%) | |
| Android | #fff032a2 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.69:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.68: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="#f032a2"
Gradient stop
<stop stop-color="#f032a2"/>
CSS variable + fill
:root { --c: #f032a2; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f032a2; background-color: #f032a2; bg-[#f032a2]