#f42fbe
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 | #f42fbe | |
| RGB | rgb(244 47 190) | |
| HSL | hsl(316.45 89.95% 57.06%) | |
| OKLCH | oklch(0.66 0.26 342.33) | |
| CMYK | cmyk(0% 80.74% 22.13% 4.31%) | |
| Android | #fff42fbe |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.50:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.99: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="#f42fbe"
Gradient stop
<stop stop-color="#f42fbe"/>
CSS variable + fill
:root { --c: #f42fbe; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f42fbe; background-color: #f42fbe; bg-[#f42fbe]