HEX / RGB / HSL Color Converter
Convert a solid HEX or RGB color into HEX, RGB, and HSL values.
Developer ToolsCheck foreground/background contrast against WCAG 2.x AA and AAA thresholds.
Loading interactive controls…
Enter solid foreground and background HEX colors. Review the contrast ratio and pass/fail thresholds. Adjust the colors and test your real interface.
This calculates contrast for opaque sRGB colors. It does not assess gradients, images, font rendering, focus behavior, or full accessibility compliance.
No. Tool input stays in browser memory and is not sent to a server. Favorites and recent tool names are saved locally only. Reloading clears your input.