In many cases, especially old vinyls (I have a lot) can sound better than CDs.
There can be various reasons, such as:
1) Old vinyls don't have as much dynamic range compression as latest CD/download releases
2) Old vinyls don't have all the heavy digital clipping you can find from most recent CD releases
Vinyl pressings may have different mastering than the "ear-pod mastered" CD versions. Same thing for hires releases.
Also old CD releases can sound better than more recent ones. For example I have five digital versions of Pink Floyd DSOTM and two vinyl versions of the same:
Old recording, and not prime subject of loudness wars (today's pop music), but still there are differences between different releases.
And the early CD version is pretty good and same goes for the old vinyl version. Some of the more recent ones are worse. Overall, above site is good place start.
Then with modern hardware, it is important to check how it behaves when exposed to all the faulty CD content. For example handling of inter-sample overs varies.