Today, marine biomolecules have attracted great interest in the field of flame-retardant (FR) science due to their sustainability and charring properties. Squid ink is mixed bio-colloid rich in proteoglycans, melanin, and metal ions. Here, squid ink was applied to endow silk with outstanding FR performance and ultraviolet protection through surface coating. After coating with 40 g/L squid ink, silk displayed excellent ultraviolet shielding performance with a high UV protection factor (UPF) of 71.5, attributing to powerful ultraviolet absorption ability of melanin. Besides, the coated silk also exhibited outstanding FR performance, characterized by a shorter char length (7.1 cm) and a higher FR-Index (2.5). The heat release performance of the treated silk dramatically decreased, and the peak heat release rate (pHRR) and heat release capability (HRC) both decreased by 49.1 %. Moreover, a significant reduction in total smoke production (TSP ∼ 60 %) was also observed in cone calorimetry test. A reduction in these fire parameters indicated a great improvement in the fire safety of silk. Interestingly, due to the natural adhesiveness of the proteoglycan mixed colloid, the coated silk could withstand 10 washing cycles while maintaining FR properties. Subsequently, further analyses of the cone residues confirmed the formation of a compact and stable char layer. The squid ink coating exerted an intumescent FR action on silk.