Home Color

Color

ready

Convert between HEX, RGB, HSL, and OKLCH. Type in any format - get the others instantly.


STDINinput
HEX#0A0A0A
RGBrgb(20, 184, 166)
HSLhsl(173, 80%, 40%)
OKLCHoklch(70% 0.13 184)
Contrast vs white-
Contrast vs black-
OKLCH is a perceptually-uniform color space added to CSS in 2023 - predictable lightness changes look correct to the eye. Use OKLCH for design-system tokens; HEX/RGB for legacy compatibility.
STDOUToutput

Common questions

Is Color Converter free to use?

Yes. The tool runs in your browser at no cost, with no signup required.

Where is the math performed?

Calculations run locally in your browser. Your inputs do not leave your device.

Are the rates and rules current?

We update sources when published rates change. For high-stakes decisions, verify against the official source linked on this page.