The tool I have used, and maybe the one Norm is referencing, is Colour Contrast Analyzer (free). I keep two versions around with the latest having a new UI and is Electron based IIRC. I believe if you grab 2.2 or maybe 2.3 from their archives though, you get a full on Cocoa app and IMHO a better UI.