#ff2f79
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 | #ff2f79 | |
| RGB | rgb(255 47 121) | |
| HSL | hsl(338.65 100% 59.22%) | |
| OKLCH | oklch(0.66 0.24 6.74) | |
| CMYK | cmyk(0% 81.57% 52.55% 0%) | |
| Android | #ffff2f79 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.53:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.93: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="#ff2f79"
Gradient stop
<stop stop-color="#ff2f79"/>
CSS variable + fill
:root { --c: #ff2f79; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ff2f79; background-color: #ff2f79; bg-[#ff2f79]