#f261bf
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 | #f261bf | |
| RGB | rgb(242 97 191) | |
| HSL | hsl(321.1 84.8% 66.47%) | |
| OKLCH | oklch(0.7 0.2 343.82) | |
| CMYK | cmyk(0% 59.92% 21.07% 5.1%) | |
| Android | #fff261bf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.90:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.23: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="#f261bf"
Gradient stop
<stop stop-color="#f261bf"/>
CSS variable + fill
:root { --c: #f261bf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f261bf; background-color: #f261bf; bg-[#f261bf]