Skip to content
EditToolbelt

Menu

HEX to RGB Color Converter

Type one color code and get HEX, RGB, HSL, HSV, CMYK, Lab and Oklch at once.

Runs in your browser. Nothing you type is sent anywhere.

Pick#ff6347
HEX
#ff6347
RGB
rgb(255, 99, 71)
HSL
hsl(9.1, 100%, 63.9%)
HSV / HSB
hsv(9.1, 72.2%, 100%)
CMYK
cmyk(0%, 61%, 72%, 0%)Approximate, not color-managed. Printers use ICC profiles.
Lab
lab(62.99 59.36 47.88)CIE Lab, D50 white, as CSS lab() and Photoshop use.
Oklch
oklch(69.62% 0.1955 32.32)
Name
tomatoExact CSS color name.

Tints and shades

Tints mix toward white and shades toward black in 20% steps, in linear light. Select one to convert it.

How to use the Color Converter

  1. Type or paste a color in any format: HEX, RGB, HSL, HSV, CMYK, Lab, Oklch or a CSS name like tomato.
  2. Or choose one with the color picker.
  3. Copy the notation you need. Each row has its own copy button.
  4. Select a tint or shade to convert that one instead.

Why use this

  • Instant. Results update as you type, with nothing to press.
  • Private. What you type stays on this page; the link you share holds only the numbers.
  • Free, with no sign-up and no watermark.

Questions

How do I convert HEX to RGB?

Split the six digits into three pairs and read each pair as a base-16 number. #ff6347 is ff, 63 and 47, which is 255, 99 and 71, so rgb(255, 99, 71).

Why is the CMYK value only approximate?

Real CMYK depends on the printer, paper and ink, which an ICC profile describes. This tool uses the plain formula without a profile, so treat the numbers as a starting point and ask your print shop for their profile.

What is Oklch?

A way to describe color by lightness, chroma and hue that tracks how bright colors look to people better than HSL does. CSS supports it as oklch(), so you can paste the value straight into a stylesheet.

Which Lab does it use?

CIE Lab with a D50 white point, the same as CSS lab() and Photoshop, so the numbers match what you see there.

Does it handle transparency?

Yes. Paste #ff634780 or rgba(255, 99, 71, 0.5): HEX, RGB, HSL, Lab and Oklch keep the alpha, and the preview shows it over a checkerboard.