#f261a5
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 | #f261a5 | |
| RGB | rgb(242 97 165) | |
| HSL | hsl(331.86 84.8% 66.47%) | |
| OKLCH | oklch(0.7 0.19 354) | |
| CMYK | cmyk(0% 59.92% 31.82% 5.1%) | |
| Android | #fff261a5 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.98:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.02: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="#f261a5"
Gradient stop
<stop stop-color="#f261a5"/>
CSS variable + fill
:root { --c: #f261a5; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f261a5; background-color: #f261a5; bg-[#f261a5]