TOOLTIKI Lovable tool, really free
Colour Formats

Hex to colour name

Nearest named colour: tomato

Format

Calculated in your browser · nothing is uploaded

Local · matched in Lab, not RGB
Advertisement
320 × 100

Finds the closest CSS named colour to any hex value, matched by perceptual distance in Lab rather than by raw RGB distance.

How to use the hex to colour name

1 Set your colour, by picker or by typing a hex value.
2 Switch the format if you need RGB, HSL or OKLCH rather than hex.
3 Tap any swatch to copy it, or copy the whole set at once.

Matching by RGB distance is the obvious approach and gives visibly wrong answers, because it treats a change in blue as being as noticeable as the same change in green when human vision is far more sensitive to green. Matching in Lab gives the name a person would actually pick. Worth knowing about the CSS named colours themselves: they are a historical accident inherited from early X11 and Netscape, which is why there are three shades of "grey" spelled two ways, why "darkgray" is lighter than "gray", and why the set has nothing like even coverage of the colour space.

Questions

By perceptual distance in Lab space, which matches what a person would pick. RGB distance gives visibly worse answers.

MDN — CSS color values
Advertisement
300 × 250
Was this tool any good?
INTERNAL SIGNAL ONLY · WE USE IT TO FIND TOOLS WORTH REBUILDING