RGB to OKLCH Converter
Type or paste a RGB color: With commas or spaces, rgba(), three bare numbers, a HEX code or a CSS color name.
oklch(0.62796 0.25768 29.23)RGB:
rgb(255, 0, 0)OKLCH:
oklch(0.62796 0.25768 29.23)CSS Usage:
background-color: oklch(0.62796 0.25768 29.23);color: oklch(0.62796 0.25768 29.23);border: 1px solid oklch(0.62796 0.25768 29.23);Popular Examples:
How to Convert RGB to OKLCH
RGB to OKLCH converts decimal RGB values to the modern OKLCH perceptual color space. For example, rgb(255, 0, 0) becomes oklch(0.62796 0.25768 29.23). OKLCH is part of CSS Color Level 4 and produces more perceptually uniform color scales than HSL. Use this when migrating a CSS design system to modern color formats, or when you need perceptually consistent tints and shades from existing RGB brand colors.
Why Use This Converter?
- Instant real-time conversion
- Free online tool - no registration required
- Live color preview
- CSS code examples
- One-click copy to clipboard