Let fk be the k-th Fourier coefficient of a function f in terms of the orthonormal Hermite, Laguerre or Jacobi polynomials. We give necessary and sufficient conditions on f for the inequality ∑k∣fk∣2θk<∞ to hold with θ>1. As a by-product new orthogonality relations for the Hermite and Laguerre polynomials are found. The basic machinery for the proofs is provided by the theory of reproducing kernel Hilbert spaces.