LAB Color Codes
Explore LAB values with a live color picker, format-aware previews, conversion rows, and contrast guidance.
Fine-tune your color
Drag the field, adjust hue and alpha, or paste any supported format.
#ffffff
| Element | AA | AAA |
|---|---|---|
| Small text | Pass | Fail |
| Large text | Pass | — |
| UI elements / graphics | Pass | N/A |
LAB
A perceptual color space.
LAB is designed to be more aligned with human perception than RGB. It is helpful when you need a more uniform way to compare or transform colors.
Best for color science and perceptual comparisons.
Color Conversion
Same color in multiple code formats.
Export formats
Ready-to-copy snippets for developers, apps, frameworks, and design systems.
| Swatch | Format | Snippet |
|---|---|---|
|
CSS variable
|
||
|
JSON token
|
||
|
Tailwind config
|
||
|
SCSS variable
|
| Swatch | Format | Snippet |
|---|---|---|
|
JavaScript
|
||
|
TypeScript
|
||
|
Inline style
|
||
|
CSS class
|
| Swatch | Format | Snippet |
|---|---|---|
|
Android XML
|
||
|
SwiftUI
|
||
|
Swift UIColor
|
||
|
Kotlin
|
||
|
Flutter
|
||
|
React Native
|
| Swatch | Format | Snippet |
|---|---|---|
|
SVG fill
|
||
|
SVG stroke
|
Color Variations
tint / shadeSupported format references
Compare the supported formats and move between them without losing the same color context.