Skip to content
HEX format page

HEX Color Codes

Explore HEX values with a live color picker, format-aware previews, conversion rows, and contrast guidance.

Custom picker

Fine-tune your color

Drag the field, adjust hue and alpha, or paste any supported format.

110°
100%

Tip: you can paste formats like #3f7f2f, rgb(63, 127, 47), hsl(110, 45%, 35%), or oklch(0.7, 0.1, 220).

Current HEX value
Parsed from input
#9b3011
Foreground preview
WCAG contrast checker and foreground picker
Best auto foreground
Best contrast with white
#ffffff
Auto-selects the strongest contrast against the current background.
Readable text preview
The quick brown fox jumps over the lazy dog.
Button preview
Contrast ratio
7.43
Excellent accessibility
Element AA AAA
Small text Pass Pass
Large text Pass
UI elements / graphics Pass N/A
AA for normal text is typically 4.5:1, AA for large text 3:1, AAA for normal text 7:1, and non-text UI elements typically 3:1.
About HEX

HEX

The most common web color notation.

HEX is compact, readable, and widely supported in CSS, design tools, and development workflows. It is ideal for quick color references and shared design tokens.

Best for UI styles, CSS variables, and quick sharing.

Convert to other formats

Jump directly to the same color in another notation.

Color Conversion

Same color in multiple code formats.

Export formats

Ready-to-copy snippets for developers, apps, frameworks, and design systems.

#9B3011
CSS variable
Tokens
JSON token
Tokens
Tailwind config
Tokens
SCSS variable
Tokens
JavaScript
Frontend
TypeScript
Frontend
Inline style
Frontend
CSS class
Frontend
Android XML
Mobile
SwiftUI
Mobile
Swift UIColor
Mobile
Kotlin
Mobile
Flutter
Mobile
React Native
Mobile
SVG fill
Graphics
SVG stroke
Graphics

Color Variations

tint / shade
Tint
Lightened version
#b76a54
Shade
Darkened version
#76240d
Tone
Muted version
#954229
Monochrome
Single-hue family
#481608

Supported format references

Compare the supported formats and move between them without losing the same color context.