HEX, RGB & HSL Color Converter
Supports HEX, RGB, RGBA, HSL, HSLA, and CSS color names.
How This Tool Works
This free online Color Converter lets you translate color coordinates between HEX, RGB, RGBA, HSL, HSLA, and standard CSS names in real time. Simply input any format in the box, and the tool will instantly output equivalents for other color spaces. Additionally, it calculates WCAG-compliant contrast ratios against white, black, and gray backgrounds to help you ensure visual accessibility, and displays auto-generated harmonies—complementary, triadic, and analogous palettes—alongside tints and shades of your color.
Using This Tool in Figma
When working in Figma, color management is crucial for maintaining design system consistency. Use this tool to check contrast ratios before defining your primary and secondary color tokens. You can copy HEX arrays directly into Figma's color picker or register them as Color Variables or Styles in your UI library. Applying the calculated complementary or analogous harmonies directly to your components ensures balanced layouts and accessible interfaces.