Color code converter
Convert HEX, RGB and HSL; composite alpha onto your explicit background.
Ready for values.
Converted color codes
- AA normal text · 4.5:1—
- AAA normal text · 7:1—
- AA large text · 3:1—
- AAA large text · 4.5:1—
- Non-text threshold · 3:1—
Your text stays here
Input and results stay in this tab’s memory. They are not uploaded or placed in storage, analytics or logs. Only language, theme and an optional analytics choice are saved on this device. Analytics and advertising are inactive.
Calculation rules and sources
HEX:#RGB/#RGBA/#RRGGBB/#RRGGBBAA. RGB:0–255. HSL:degrees0–360 (360=0), S/L0–100. Alpha0–1; background alpha must be1. Numeric channels are separate; no %, exponents, grouping or CSS functions.
Each field:32 UTF-16 units; numerical resolution at most6 decimal places.
IEEE754 arithmetic; codes show6 decimals and HEX rounds to8-bit channels/alpha. Achromatic hue is0. The displayed ratio is rounded; thresholds use the unrounded calculation.
Numbers test this pair only, not full accessibility compliance. Large text:18pt regular or14pt bold. Non-text exceptions and all other requirements need human review. Solid sRGB colors only; no images, gradients, blend modes, HDR or color profiles.
Operator
weareport
Contact: help@foryour.work