UtilHub

HEX to RGB Converter

Convert any HEX color code to its RGB equivalent instantly. Paste your 6-digit or 3-digit hex value and get the red, green, and blue channel values ready to use in CSS, JavaScript, or any design tool.

name, hex, rgb, hsl, hwb, cmyk, ncol

FormatValue
RGBrgb(255, 122, 89)
Name
Hex#ff7a59
HSLhsl(12, 100%, 67%)
HWBhwb(12, 35%, 0%)
CMYKcmyk(0%, 52%, 65%, 0%)
NColR20, 35%, 0%
OKLCHoklch(72.9% 0.1696 35.11)

Lighter / Darker:

rgb(255, 235, 229)
rgb(255, 198, 184)
rgb(255, 161, 138)
rgb(255, 124, 92)
rgb(255, 88, 46)
rgb(255, 51, 0)
rgb(209, 42, 0)
rgb(163, 33, 0)
rgb(117, 23, 0)
rgb(71, 14, 0)
rgb(26, 5, 0)

Pick a Color:

How to Use This Tool

Enter any HEX color value — with or without the leading # — into the input field above. The tool instantly converts it to RGB, showing the red, green, and blue channel values from 0 to 255. You can also enter shorter 3-character hex codes like #f00. Click any value in the results table to copy it to your clipboard. The lighter and darker shade bar on the right shows RGB values for each tint and shade of your color, making it easy to pick the right tone without leaving the page.