#f12c81
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 | #f12c81 | |
| RGB | rgb(241 44 129) | |
| HSL | hsl(334.11 87.56% 55.88%) | |
| OKLCH | oklch(0.64 0.23 1.48) | |
| CMYK | cmyk(0% 81.74% 46.47% 5.49%) | |
| Android | #fff12c81 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.87:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.41: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="#f12c81"
Gradient stop
<stop stop-color="#f12c81"/>
CSS variable + fill
:root { --c: #f12c81; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f12c81; background-color: #f12c81; bg-[#f12c81]