Color Converter
Enter any color in HEX, RGB, HSL, HSV, or CMYK and instantly see all other formats. Large color preview swatch. Copy any format with one click.
How to use Color Converter
Convert colors between HEX, RGB, HSL, HSV, CMYK, LAB, and LCH formats instantly — all conversions happen in your browser. Paste any color value and get all equivalent representations at once. Useful for translating design tool values into CSS, converting brand colors between print (CMYK) and screen (RGB/HEX), and building design token systems.
- Enter a color value in any supported format: HEX, RGB, HSL, HSV, or CMYK.
- All equivalent values in every other format appear instantly.
- Click any format field to copy the value to your clipboard.
- Use the color preview swatch to visually confirm the conversion is correct.
- Try the batch mode to convert a list of colors at once.
Your data never leaves your device — 100% private processing.
Conversion accuracy and color spaces
RGB, HEX, and HSL all operate in the sRGB color space and convert between each other with zero data loss — they are mathematically equivalent representations of the same color. CMYK conversion is an approximation: RGB colors have a wider gamut than CMYK (which is a subtractive ink model), so bright neons and saturated blues cannot be perfectly reproduced in CMYK. LAB (CIELAB) is a perceptually uniform color space — equal numerical distances correspond to equal perceived color differences, making it ideal for color interpolation and accessibility analysis.
Practical conversion scenarios
Designers often need to convert Figma HEX values to CSS hsl() for easier theming (HSL lightness is the cleanest axis to manipulate programmatically). Print designers need RGB-to-CMYK for offset printing where screen colors must be matched to ink. Brand guidelines frequently specify Pantone or CMYK values that front-end developers must translate to HEX. The LAB format is used in data visualization when constructing perceptually uniform color scales where every step looks equally spaced to the human eye.
Glossary
- sRGB
- The standard RGB color space for screens and the web — the default color space in CSS and HTML.
- CMYK
- Cyan-Magenta-Yellow-Key (Black) — a subtractive color model used in color printing.
- CIELAB (LAB)
- A perceptually uniform color space where equal numerical differences correspond to equal perceived color changes.
- Color gamut
- The range of colors a device or color space can represent — sRGB is narrower than P3 or ProPhoto RGB.
Related reading
Frequently Asked Questions
Get weekly tool tips & updates
New tools, power-user tips, and productivity hacks — delivered free every Friday.
No spam, ever. Unsubscribe with one click.
Why use Color Converter?
- Converts between HEX, RGB, HSL, HSV, and CMYK instantly
- Accessibility contrast checker built in
- Generates harmonious palette variations from a single colour
- Export-ready CSS variables and design tokens
Common use cases
- Pick brand colours that meet WCAG accessibility standards
- Generate a complementary palette from a logo colour
- Convert Figma HEX codes to CSS rgb() for developers
- Create a gradient from two brand colours
- Verify sufficient contrast for text on coloured backgrounds
Related Color & Design
Color Picker & Converter
Pick a color and instantly convert between HEX, RGB, HSL, HSB, and CMYK. Generate tints, shades, and color palettes.
Color Contrast Checker
Check color contrast ratio for WCAG AA and AAA accessibility compliance. See if your text and background colors meet accessibility standards.
Color Palette Generator
Generate beautiful harmonious color palettes online. Choose from complementary, analogous, triadic, and monochromatic schemes. Free color scheme creator.
CSS Gradient Generator
Create beautiful CSS linear, radial, and conic gradients online. Get the CSS code instantly with a live preview.
Image Color Extractor
Extract dominant colors from any image. Upload a photo and instantly get the top colors as HEX and RGB values. Free online color palette extractor.
Color Shades & Tints Generator
Generate a full color scale from any color. Create 9 shades and 9 tints with Tailwind-style naming (50-900). Copy as CSS variables or Tailwind config.
Explore all Color & Design.