Color Converter
Convert colors between hex, RGB, HSL, and OKLCH.
- client-side
- works offline
- free
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.
Design linear and radial gradients with live CSS output.
Open toolCraft layered CSS box-shadows with a live preview.
Open toolCheck WCAG AA/AAA contrast ratios for any color pair.
Open toolbuilt by algocrew
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.
#c2410c
rgb(194, 65, 12)
hsl(17, 88%, 40%)
oklch(55.3% 0.174 38.4)
Need to check readability? Pair this with the color contrast checker.