Color Reference · Onyx Shadow

#20121E

oklch(20.7% 0.032 332)

HEX
#20121E
OKLCH
oklch(20.7% 0.032 332)
RGB
rgb(32, 18, 30)
HSL
hsl(309deg 28% 10%)
Relative Luminance
Y = 0.0083

Using #20121E as Text Foreground

Sample text on White (#FFFFFF)
Contrast ratio 18:1
AAA
Sample text on Slate (#0F172A)
Contrast ratio 1.01:1
Fail

Using #20121E as Button / Surface Fill

White ink (#FFFFFF) on #20121E
Contrast ratio 18:1
AAA
Dark ink (#0F172A) on #20121E
Contrast ratio 1.01:1
Fail

Recommended accessible ink on #20121E: #FFFFFF.

OKLCH Tonal Scale (50–950)

Click any shade step to inspect its conversions and contrast profile.

Export Tailwind CSS v4 Scale →

OKLCH Color Harmonies from #20121E