RGB → OKLCH

Convert RGB to OKLCH

Generate CSS-ready color tokens in every format you need

Tip: Hover over the input to auto-paste from clipboard

Paste or type a color value

Auto-detects HEX, RGB, HSL, and 12+ formats

Frequently Asked Questions

Converting RGB to OKLCH Colors

Ship consistent design systems faster by translating design specs into production-ready CSS color tokens without copy-paste mistakes.

Example Conversion

Input (RGB)

rgb(59, 130, 246)

Output (OKLCH)

oklch(0.700 0.144 242.8)

A
About RGB

Red, Green, Blue color model. This color format is commonly used in digital design and interface work.

B
About OKLCH

Perceptually uniform LCH. Converting to this format is useful for perceptually even gradients and accessibility tuning.

Common Use Cases

Building theme-switching tokens with HEX + HSL pairs
Ensuring gradient stops match marketing specs
Auditing brand palettes for accessible combinations
Migrating colors from design tools into CSS custom properties