wcagContrastRatio

Calculate the contrast ration of this color with other according to the Web Content Accessibility Guidelines

Return

The contrast ratio of this color with other, which ranges from 1 to 21 for in-gamut sRGB colors