The most common cause of pink materials with SRPs is improper setup. This is when the SRP asset isn't assigned in Project Settings.
Setup for URP can be found here, upgrading shaders here.
Setup for HDRP can be found here.
Not all shaders are SRP compatible. In most cases if you are using custom shaders that cannot be upgraded, you should recreate the shader using Shader Graph.
For URP _Cyan_ has a great writeup on writing custom shaders found here.
If your material is still pink, see General Shader Errors for further debugging.