Why do we need a contrast checker when 100's already exist? This one uses the input type "color" so you can use an eye dropper.
Selected color: #000000 Contrast from white: 21 Contrast from black: 1