Color Reference · Onyx Shadow

#27151E

oklch(22.4% 0.033 349)

HEX
#27151E
OKLCH
oklch(22.4% 0.033 349)
RGB
rgb(39, 21, 30)
HSL
hsl(330deg 30% 12%)
Relative Luminance
Y = 0.0106

Using #27151E as Text Foreground

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

Using #27151E as Button / Surface Fill

White ink (#FFFFFF) on #27151E
Contrast ratio 17.32:1
AAA
Dark ink (#0F172A) on #27151E
Contrast ratio 1.03:1
Fail

Recommended accessible ink on #27151E: #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 #27151E