Color Contrast Checker
Calculate the WCAG contrast ratio for two colors and check AA and AAA text thresholds.
DeveloperConvert CSS pixels to rem using a root font size you choose.
Your result will appear here.
24 px at a 16 px root size
1.5 rem
A rem is relative to the root element’s font size. Enter your actual root size when it differs from 16 px.