Changes in the recombination radiation spectrum of spatially-separated electron-hole layers has been studied under variation of the in-plane magnetic field and interlayer distance. It has been found that a change in the spectral position of the luminescence line in the low-field limit is proportional to the square of the magnetic field with the proportionality coefficient depending on the interlayer distance. The observed dependence has been shown to agree with the theoretical conceptions, according to which the line shift is quadratic in the magnetic field and interlayer distance and inversely proportional to the sum of the electron and hole masses. This total mass obtained in the experiment has been found to depend on the electric field that separates the layers and may substantially differ from the expected value.