Color & Frontend

Color Converter

Convert between HEX, RGB, and HSL. Enter any format and see all conversions instantly. Includes a WCAG contrast ratio checker for foreground/background pairs.

● LOCAL ● NO NETWORK

WCAG Contrast Checker

Sample text on the selected colors

About Color Conversions & WCAG Contrast

What it does

Converts colors bidirectionally between the three most common CSS color formats: HEX (hexadecimal RGB), RGB (0–255 per channel), and HSL (hue 0–360°, saturation and lightness 0–100%). All math runs entirely in your browser using standard color conversion arithmetic. The WCAG contrast checker computes the relative luminance ratio between two colors and reports WCAG 2.1 AA and AAA compliance for normal and large text.

No data leaves your browser. All conversion is computed locally. No analytics events include color values.