it is possible severe anemia. You need to have your dog check by your doctor as soon as possible. As I know there are some blood-related contagious diseases(like babesiosis, Ehrlichiosis etc). Proper diagnosis and on time treatment is the best way to cure or save your dog.
Don't wait!
dr. Lee