Spotting?

I started spotting today a light pink color. If I took a test today would it tell me if I'm pregnant or no?