Contrast matters across every letter
There is no single contrast ratio for a multi-color heading. Check the weakest color against the actual background. WCAG AA calls for at least 4.5:1 for normal text, or 3:1 for large text (at least 24px regular or about 18.7px bold). This preview does not certify your chosen colors.
Support and the fallback
The CSS first sets a solid text color. Only browsers supporting text background clipping and the chosen gradient syntax receive the transparent fill. Forced-colors mode restores ordinary text using the system CanvasText color. Printing restores the solid color so a missing background does not erase the words. Test with backgrounds disabled and in your target browsers.
MDN background-clip compatibility and the WCAG contrast guidance describe the support and requirements. No minimum browser version is claimed. User text is local and is not included in a share address.