Pro
frontendIn-Browser

Color Studio (HEX, OKLCH)

Convert color values between HEX, RGB, HSL, and modern OKLCH color spaces while discovering the nearest Tailwind color token.

HEX CODE

#06b6d4

RGB VALUE

rgb(6, 182, 212)

MODERN CSS OKLCH

oklch(0.72 0.16 215.3)

NEAREST TAILWIND CLASS

cyan-500

Contrast vs Pure Black

11.4 : 1

Contrast vs Pure White

1.8 : 1

Are you a happy user?

Forge DevTools is free, private, and runs 100% in your browser.

Want more features?Upgrade to Pro
Buy us Coffee
Sharing is caring
Come back!
Link to this tool
Send Feedback

Key Capabilities & Features

Multi-format conversion: HEX, RGB, RGBA, HSL, HSLA, and modern perceptual OKLCH.
Nearest Tailwind CSS match: discovers the closest official Tailwind color class (e.g. cyan-500).
WCAG 2.1 contrast ratio checker for accessibility compliance on black and white text.
Interactive visual color picker and palette generator.

How to Use This Tool in 3 Steps

1

Provide Input

Paste your raw code or data, choose options, or load a pre-configured sample.

2

Instant Client-Side Processing

The parser compiles your data instantly inside your browser without any network round-trip.

3

Copy or Export

Copy the result directly with one click or export to a local downloadable file.

Frequently Asked Questions

OKLCH is a perceptual color space supported in modern CSS that offers predictable lightness transitions and a wider color gamut compared to standard sRGB.