#ff1f79
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 | #ff1f79 | |
| RGB | rgb(255 31 121) | |
| HSL | hsl(335.89 100% 56.08%) | |
| OKLCH | oklch(0.65 0.25 5.64) | |
| CMYK | cmyk(0% 87.84% 52.55% 0%) | |
| Android | #ffff1f79 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.66:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.72: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="#ff1f79"
Gradient stop
<stop stop-color="#ff1f79"/>
CSS variable + fill
:root { --c: #ff1f79; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ff1f79; background-color: #ff1f79; bg-[#ff1f79]