ToolsTuna

    Convert Between HEX, RGB, HSL, HSV, CMYK & OKLCH

    Type any color in any format and instantly see all six. Live WCAG contrast checks, RGB and HSL sliders, and one-click copy for every output.

    5 of 5 free uses left

    16:25:36
    #ff6b35rgb(255,107,53)
    RGB
    HSL
    Sample swatches
    HEX
    #ff6b35
    RGB
    rgb(255, 107, 53)
    HSL
    hsl(16, 100%, 60%)
    HSV
    hsv(16, 79%, 100%)
    CMYK
    cmyk(0%, 58%, 79%, 0%)
    OKLCH
    oklch(70.45% 0.1926 39.23)
    WCAG contrast
    vs white
    2.84:1 · ✗ fails
    vs black
    7.41:1 · ✓ AA text

    Color codes reference chart

    Tap any swatch to copy its HEX code. Hover for RGB values.

    Reds

    Oranges

    Yellows

    Greens

    Blues / Cyans

    Purples / Pinks

    Browns

    Neutrals

    Convert Between HEX, RGB, HSL, HSV, CMYK & OKLCH

    Every color on a screen exists in multiple equivalent forms — and the form you need depends on what you're doing. Web CSS wants **HEX** or **RGB**. Designers in Figma reach for **HSL** to tweak lightness without messing up the hue. Photoshop and Affinity Photo expose **HSV** for picking. Print and packaging require **CMYK** because ink doesn't mix the way light does. And the new CSS Color Level 4 spec introduces **OKLCH** — a perceptually uniform color space that's quickly becoming the default for accessible, programmatic palette generation in modern design systems.

    Our Color Converter does all six simultaneously. Type a hex code, paste `rgb(255, 107, 53)`, or write `hsl(16, 100%, 60%)` — the input parser auto-detects the format and updates every other panel in real time. Drag the RGB or HSL sliders, use the native color picker, click one of the sample swatches, or hit Randomize. Each output box has a one-click Copy button so you can lift the value straight into your stylesheet, design tool, or print spec.

    The tool also runs **live WCAG contrast checks** against pure white and pure black backgrounds, telling you immediately whether your color passes the WCAG 2.2 AA threshold (4.5:1 for normal text, 3:1 for large text) — useful for picking accessible accent colors, validating a brand palette, or auditing a design before handing it off to developers.

    Everything happens in your browser. No upload, no signup, no tracking of the colors you explore. Conversions are deterministic and follow the standard math: sRGB primaries, D65 white point, the official OKLCH transform from Björn Ottosson's 2020 paper. The output you get matches what Figma, Chrome DevTools and any production-grade design tool will produce.

    How It Works

    1

    Enter a Color in Any Format

    Type or paste HEX (#ff6b35), RGB, or HSL. The parser auto-detects and converts.

    2

    Tweak with Sliders or Picker

    Adjust RGB or HSL sliders, use the native color picker, or click a sample swatch.

    3

    Copy or Export

    One-click copy any format — HEX, RGB, HSL, HSV, CMYK, OKLCH — or download a full color report.

    Why Use Our Tool?

    Six Color Spaces

    HEX, RGB, HSL, HSV, CMYK and the perceptually uniform OKLCH — all generated and shown simultaneously.

    Smart Input Parsing

    Type any format and the tool auto-detects — paste from Figma, Photoshop, Tailwind, anywhere.

    Live WCAG Contrast

    Real-time AA/AAA contrast ratios against pure white and pure black, with pass/fail labels.

    RGB & HSL Sliders

    Drag-to-adjust sliders for every channel plus an HTML5 color picker — designed for fast iteration.

    Accurate OKLCH

    Uses the official Ottosson 2020 transform — the same math Chrome DevTools and modern design tools use.

    100% Local & Private

    Everything runs in your browser. No upload, no signup, no tracking of the colors you work with.

    Frequently Asked Questions

    Get in Touch

    Questions, feedback, or partnership ideas? Send us a note.