CDs are clearer and due to their nature of sampling, do not capture the full sound possible.
On the other hand, Vinyl gives you that full sound + scratches, hisses and distortions. That is its nature.
Of the two, I’d prefer the CD. I am not enough of an audiophile to detect the missing sound, but I sure as heck can detect the sounds that aren’t supposed to be there, but are with vinyl.
The best of both worlds would be to have a new digital standard, that has a much higher sample rate, and higher bit sound range than CDs do. Then you’d get fuller sound without the extra noise and distortions. They do have this..but there is no standard and it’s a niche audience.