Enter a color to see all formats
HEX, RGB, HSL, HSV, CMYK and more// convert colors between any format instantly
Convert colors between HEX, RGB, HSL, HSV, CMYK and CSS named colors instantly. Visual picker, shades palette, contrast checker — free, no sign-up required.
Enter a color to see all formats
HEX, RGB, HSL, HSV, CMYK and moreType a HEX code, RGB, HSL, HSV, CMYK value, or a CSS named color like tomato. Any common format is accepted.
All color formats update simultaneously. Click any copy button to grab the value you need for your CSS, design tool, or code.
The WCAG contrast checker shows if your color meets AA or AAA accessibility standards. Explore the shades and tints palette below.
Color Converter is a free browser-based tool that converts any color between HEX, RGB, HSL, HSV, CMYK, and CSS named color formats. It includes a visual native color picker, a WCAG AA/AAA contrast ratio checker, and a shades and tints palette generator — all updating in real time as you type.
The tool accepts and outputs HEX (3-digit and 6-digit), RGB, RGBA, HSL, HSLA, HSV, CMYK, and CSS named colors such as tomato, steelblue, or rebeccapurple. Input detection is automatic — just paste or type any format.
WCAG (Web Content Accessibility Guidelines) defines minimum contrast ratios between text and its background to ensure readability. A ratio of 4.5:1 passes AA for normal text. A ratio of 7:1 passes AAA. Large text (18pt or 14pt bold) requires only 3:1 for AA. This tool calculates the ratio and shows which levels pass.
Both HSL and HSV use Hue and Saturation, but the third component differs. In HSL, Lightness of 50% gives a pure chromatic color and 100% gives white. In HSV (also called HSB), Value of 100% gives the pure color and 0% gives black. HSL is used in CSS; HSV is common in design tools like Photoshop and Figma.
HEX colors use base-16 (hexadecimal) notation. Each of the three pairs (RR, GG, BB) represents a value from 0 to 255, written as two hex digits. Hexadecimal uses digits 0–9 and letters A–F to represent values 10–15. So #FF0000 is red at full intensity (255, 0, 0 in decimal).
Shades are created by mixing the original color with black (reducing lightness in HSL). Tints are created by mixing with white (increasing lightness). The palette generates ten steps in each direction, giving you a full tonal range from near-black to near-white suitable for use in design systems.
Yes. All 140+ CSS named colors are recognized as input. Type coral, mediumseagreen, dodgerblue, or any other valid CSS color name and it will be converted to HEX, RGB, HSL, and all other formats automatically.
Working with colors across different tools and workflows means constantly translating between formats. Figma and Sketch output HEX codes. CSS prefers HSL for its human readability. Python image libraries use integer RGB tuples. Print designers work in CMYK. This Color Converter bridges all of these formats instantly, giving you every representation of a color on one screen.
HEX is the most common color format on the web. A six-character hexadecimal string like #f472b6 encodes the red, green, and blue channels as two-digit hex numbers ranging from 00 to FF. The shorthand three-character form #f4b works when both digits in each channel are identical. HEX codes are used in CSS, HTML attributes, SVG, and most design tools.
RGB expresses colors as three integer values between 0 and 255, one for each channel: rgb(244, 114, 182). RGBA adds an alpha channel from 0 (fully transparent) to 1 (fully opaque). RGB is the native model of digital displays, making it a natural fit for web development and image processing. It maps directly to the physical hardware of monitors and cameras.
HSL stands for Hue, Saturation, and Lightness. The hue is a degree value from 0 to 360 on the color wheel (0 and 360 are red, 120 is green, 240 is blue). Saturation is a percentage indicating how vivid the color is. Lightness is a percentage where 0% is black and 100% is white, with pure colors at 50%. HSL is popular in CSS because it is intuitive — you can predict what a color will look like before seeing it, and you can lighten or darken a color simply by adjusting the L value.
HSV (Hue, Saturation, Value) is used in many design applications including Adobe products and Figma. It is similar to HSL but the Value channel works differently — 100% Value gives the full chromatic color, while 0% Value is black regardless of hue or saturation. Understanding the difference between HSL and HSV is important when building color pickers or porting palette code between CSS and design tool APIs.
CMYK (Cyan, Magenta, Yellow, Key/Black) is the subtractive color model used in printing. Unlike the additive RGB model where combining colors produces white, CMYK starts with white paper and adds ink to subtract light. Digital colors converted to CMYK are approximations — the CMYK gamut is smaller than the RGB gamut, so some vivid screen colors cannot be reproduced exactly in print. This converter provides CMYK values as a reference for print preparation workflows.
Color contrast is a critical accessibility consideration. The Web Content Accessibility Guidelines (WCAG 2.1) specify that text must have a contrast ratio of at least 4.5:1 against its background to pass Level AA. Large text (18pt or 14pt bold) requires a minimum of 3:1. Level AAA requires 7:1 for normal text. This converter shows the contrast ratio between your color and any background color you choose, and clearly indicates which WCAG levels pass.