You can’t judge whether chicken is cooked through to a safe internal temperature by color. Chicken, particularly thighs, may be red near the bone and still cooked to a safe internal temperature. Smoked chicken is often pink when cooked through.
The only really safe way to test for doneness is to use a meat thermometer. Chicken should be cooked to 165 degrees, according to the USDA, although breasts are safe to eat at 160 degrees and thighs are more palatable when cooked to 170-175 degrees.
Recipe: Spatchcocked Chicken