🛠️Dev Toolbox

🏷️ Color Name Lookup

Find the closest human-readable name for any color and browse the full CSS named-color reference with live swatches.

You've picked a color. Maybe it's from sampling a photo, maybe it's the output of a palette algorithm, maybe it's the exact shade of red your designer rejected in the last three brand reviews. You know its HEX code — #E63946 in this case — but you don't know what to call it. "Sort of tomato-y?" "Brick-red-that-doesn't-look-like-brick"? The designer's going to want to talk about this color in words you can both agree on.

The problem is that named colors and hex colors exist in two different worlds that don't line up very cleanly. The CSS spec defines 147 named colors (as of CSS Color 4), inherited from the old X11 list and the original HTML set. That's 147 names for a space of 16.7 million RGB triplets. Most colors don't have a name. They're just "somewhere between coral and salmon" until someone picks a hex value and uses it.

This tool bridges the gap in both directions. Given a color (HEX, RGB, or HSL), it finds the closest named CSS color and shows you a ranked list of the nearest 5–10 named neighbors, each with a perceptual "distance" score in CIE76 Delta-E — a measure of how different two colors look to a human viewer, not how different their raw RGB numbers are. A Delta-E under 2.5 means "most people would call these the same color." Under 10 means "same general family." Anything over about 40 is "clearly different" and closer to a separate color entirely. That score tells you honestly whether a good name exists for your color or whether you should just say "hex E63946" and move on.

The reverse direction is also useful: type a name like "rebeccapurple" or "papayawhip" and see its numeric values and a swatch. "Rebecca purple" (#663399) is one of the more poignant entries in the CSS spec — a color added in 2014 to honor Eric Meyer's daughter. "Papayawhip" (#FFEFD5) is a pale cream named after the fruit. Knowing what these colors actually look like saves you the trawl through codebases that name CSS colors by keyword and hope for the best.

A surprising number of real cases live in this space. A team agreeing on a shared palette needs shared names — "we're using 'darkorange'" lands faster than "we're using rgb(255, 140, 0)." A codebase migrating from named colors to design tokens needs to know the hex value behind each name. An accessibility audit needs to rapidly pair a "named fallback color" with its numeric value to compute contrast. A print vendor working in a limited-color workflow wants named approximations ("your #E63946 is close to Pantone 179 C").

The tool also surfaces WCAG contrast ratio between your color and both pure black and pure white — useful when you're picking a named fallback and need to confirm it'll be readable against the surrounding elements. And for the 147 defined CSS names, it lists every one in a searchable, sortable reference grid: click a name to see its values and nearest neighbors, filter by hue family, or export the full table as JSON for documentation.

Honest reality check: 99%+ of real color values have no good CSS name. The tool says so plainly ("closest match: firebrick, ΔE 28.4 — no good name exists") instead of pretending "tomato" is close enough for a reddish-brown. That honesty matters when someone's trying to give a designer a "named color fallback" and the honest answer is "there isn't one, use the hex value directly."

More Developer Tools

Explore our complete collection of 60+ free developer tools at dev.aisoosoo.com. All tools run 100% in your browser — no signup, no data sent to servers.