Skip to main content
vibecode

Color Converter

Convert colors between hex, RGB, HSL, and OKLCH.

  • client-side
  • works offline
  • free
Loading tool…

Convert colors between hex, RGB, HSL, and OKLCH

Paste a color in hex (#c2410c), rgb(), or hsl() - or pick one visually - and this color converter shows it in all four notations at once, with a live swatch so you can confirm it's the color you meant. OKLCH output is included because modern CSS supports it natively and its lightness channel is perceptually uniform, making it far better for building color scales than HSL.

Conversions use the standard sRGB math (and the OKLab transform for OKLCH), run instantly, and work offline after load. Nothing is uploaded and nothing is tracked. When you've picked a color, check it against your background with the color contrast checker to keep text WCAG-compliant.

built by algocrew

App stuck at 80%? AlgoCrew finishes it.

Built with Lovable, Bolt, Cursor or Claude Code and now every fix breaks something else? The studio behind Vibecode fixes, secures and launches AI-built apps, without starting over.