How to use the color converter
- Type a HEX, RGB or HSL value, or use the picker.
- Read all four formats.
- Copy the one your code or design file needs.
Why OKLCH is useful
OKLCH separates lightness, chroma and hue in a way that matches perception more closely than HSL, so colors with equal lightness look similarly light. It is supported in current CSS.
Frequently asked questions
What is a HEX color?
Red, green and blue written as three two-digit hexadecimal numbers.
Is transparency supported?
No. This converter handles opaque colors.
Can I paste an OKLCH value?
Input accepts HEX, RGB and HSL. OKLCH is output only.