#f366f8
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 | #f366f8 | |
| RGB | rgb(243 102 248) | |
| HSL | hsl(297.95 91.25% 68.63%) | |
| OKLCH | oklch(0.74 0.24 326.3) | |
| CMYK | cmyk(2.02% 58.87% 0% 2.75%) | |
| Android | #fff366f8 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.60:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.06: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="#f366f8"
Gradient stop
<stop stop-color="#f366f8"/>
CSS variable + fill
:root { --c: #f366f8; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f366f8; background-color: #f366f8; bg-[#f366f8]