Skip to content
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
RGBrgb(219, 39, 119)
OKLCHoklch(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.

ColourRGBOKLCH
Blackrgb(0, 0, 0)oklch(0% 0 0)
Whitergb(255, 255, 255)oklch(100% 0 90)
Slate 500rgb(100, 116, 139)oklch(55% 0.04 257)
Red 500rgb(239, 68, 68)oklch(64% 0.21 25)
Lime 500rgb(132, 204, 22)oklch(77% 0.2 131)
Green 500rgb(34, 197, 94)oklch(72% 0.19 150)
Violet 500rgb(139, 92, 246)oklch(61% 0.22 293)
Pink 500rgb(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).

Other conversions

Try this conversion on a real colour

Copied