Oscillator strength calculations in color centers of diamond and the role of spin