#f331c4
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 | #f331c4 | |
| RGB | rgb(243 49 196) | |
| HSL | hsl(314.54 88.99% 57.25%) | |
| OKLCH | oklch(0.67 0.26 340.4) | |
| CMYK | cmyk(0% 79.84% 19.34% 4.71%) | |
| Android | #fff331c4 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.47:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.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="#f331c4"
Gradient stop
<stop stop-color="#f331c4"/>
CSS variable + fill
:root { --c: #f331c4; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f331c4; background-color: #f331c4; bg-[#f331c4]