Colour converter
RGB to OKLCH
Convert RGB color values to OKLCH instantly. Paste any RGB value into the free Color Converter and get the OKLCH equivalent (plus RGB, HSL, HSV, OKLCH and CMYK) with one click — all in your browser, nothing uploaded.
Example
#DB2777
RGB
rgb(219, 39, 119)OKLCH
oklch(59% 0.22 1)RGB to OKLCH on common colours
The same conversion run on colours from across the wheel, black and white included — the ends of the range are where formats differ most. Click a name for that colour’s full breakdown.
| Colour | RGB | OKLCH |
|---|---|---|
| Black | rgb(0, 0, 0) | oklch(0% 0 0) |
| White | rgb(255, 255, 255) | oklch(100% 0 90) |
| Slate 500 | rgb(100, 116, 139) | oklch(55% 0.04 257) |
| Red 500 | rgb(239, 68, 68) | oklch(64% 0.21 25) |
| Lime 500 | rgb(132, 204, 22) | oklch(77% 0.2 131) |
| Green 500 | rgb(34, 197, 94) | oklch(72% 0.19 150) |
| Violet 500 | rgb(139, 92, 246) | oklch(61% 0.22 293) |
| Pink 500 | rgb(236, 72, 153) | oklch(66% 0.21 354) |
About the formats
RGB
RGB describes a color by its red, green and blue channels (0–255), e.g. rgb(59, 130, 246).
OKLCH
OKLCH is a modern, perceptually-uniform CSS color space (Lightness, Chroma, Hue).