RGB to LAB Colour Converter – Free Online

What LAB is, and why designers use it

RGB describes a colour by how much red, green and blue light a screen uses. The problem is that the same RGB numbers look different on different screens, and very different in print. LAB describes a colour by how the human eye sees it, so it does not depend on any device. That is why print shops, paint makers and designers use LAB when colours have to match.

LAB has three numbers. L is lightness, from 0 for black to 100 for white. The a value runs from green on the negative side to red on the positive side. The b value runs from blue on the negative side to yellow on the positive side. Together they place any colour in a space that matches how people actually see colour differences.

How to use the converter

Type the red, green and blue values of your colour, each from 0 to 255, and press the button. The tool shows the L, a and b values at once, plus a swatch of the colour and a plain reading: warm or cool, reddish or greenish, dark or light.

The bar shows the L value, the lightness, from black on the left to white on the right. Use the L value to check contrast: text needs a big L gap from its background to stay readable. Use the a and b values to compare two colours: if their LAB numbers are close, the colours look close to the eye.

Worked example

Take pure red, RGB 255, 0, 0. The tool first turns the RGB values into XYZ, the middle step, then into LAB. The result is L 53.2, a 80.1, b 67.2. The L of 53 says it is a mid colour, the a of 80 says it is strongly red, and the b of 67 says it leans yellow, which is why red looks warm.

Take the blue 26, 115, 232. The result is L 49.9, a 18.9, b minus 66. The L is near 50, so it is also a mid colour, but the b of minus 66 says it leans strongly blue, and the a of 19 says it has a little red in it. White is L 100, a 0, b 0, and black is L 0, a 0, b 0.

Who uses this converter

Print designers use it most, when a brand colour has to look the same on a website, a business card and a shop sign. They convert the screen RGB to LAB, then match the LAB in the print shop, because LAB is the only colour space that stays the same across devices.

It also helps web designers checking contrast, photographers matching colours between shots, and anyone choosing paint or fabric colours online, where the screen lies a little and LAB tells the truth about how close two colours really are.

Honest limitations

The maths is exact, but screens and printers are not. Two screens showing the same RGB can look different, and the LAB numbers will not fix that. The tool also uses the standard D65 daylight reference, which is the usual choice, but some print shops use a different reference, and the numbers will shift a little.

LAB also rounds to one decimal place. That is fine for comparing colours and checking contrast, but for colour-critical brand work a spectrophotometer and a proper colour profile are still needed. Treat the result as a good comparison, not a laboratory measurement.

Frequently asked questions

What does L mean in LAB? L is lightness, from 0 for black to 100 for white. It is the most useful number for checking whether text will be readable on a colour.

What do a and b mean? The a value runs from green (negative) to red (positive). The b value runs from blue (negative) to yellow (positive). Together they say which way the colour leans.

Why is LAB better than RGB for matching colours? RGB depends on the screen, so the same numbers look different on two devices. LAB is built on human vision, so the same LAB numbers mean the same colour everywhere.

Can I convert LAB back to RGB? Yes, the maths runs both ways. This tool only goes from RGB to LAB, but the reverse uses the same steps in the other direction.

También disponible en español: Convertidor de RGB a LAB – Gratis en Línea

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top