#18181B — Tints, Shades & Color Values
#18181B is a very dark, nearly neutral near-black neutral. In Tailwind CSS this exact color is the utility class zinc-900 (e.g. bg-zinc-900, text-zinc-900). Its nearest CSS named color is black (#000000). For readable text on a #18181B background, white text gives the strongest contrast (17.72:1). Because it is dark, #18181B suits text, navigation bars, and footers on light backgrounds, and its tints make natural hover and surface colors.
Color Values
| Hex | #18181B |
|---|---|
| RGB | rgb(24, 24, 27) |
| HSL | hsl(240, 6%, 10%) |
| HSV / HSB | 240°, 11%, 11% |
| Nearest named | black (#000000) |
Need these in another format? Use our hex to RGB converter for quick two-way conversion.
#18181B in Tailwind CSS (zinc-900)
#18181B ships with Tailwind CSS as zinc-900 — use it as bg-zinc-900, text-zinc-900, or border-zinc-900. It sits at step 900 of the zinc ramp; every other step links to its own page:
Browse the full Tailwind palette in the color library, or generate in-between steps with the tint & shade generator.
Tints of #18181B (Mixed with White)
Each step blends the base color toward white using new = old + (255 − old) × factor. Click a swatch to open it in the generator.
-
10% tint
#2f2f32 -
20% tint
#464649 -
30% tint
#5d5d5f -
40% tint
#747476 -
50% tint
#8c8c8d -
60% tint
#a3a3a4 -
70% tint
#bababb -
80% tint
#d1d1d1 -
90% tint
#e8e8e8
Shades of #18181B (Mixed with Black)
Each step blends the base color toward black using new = old × (1 − factor).
-
10% shade
#161618 -
20% shade
#131316 -
30% shade
#111113 -
40% shade
#0e0e10 -
50% shade
#0c0c0e -
60% shade
#0a0a0b -
70% shade
#070708 -
80% shade
#050505 -
90% shade
#020203
WCAG Contrast & Accessibility
Contrast ratios for text placed on a #18181B background. WCAG requires 4.5:1 for normal text (AA), 3:1 for large text (AA), and 7:1 for normal text (AAA).
| Text color | White text 17.72:1 — AA normal: Pass · AA large: Pass · AAA: Pass |
|---|---|
| Black text 1.19:1 — AA normal: Fail · AA large: Fail · AAA: Fail |
If neither pure white nor pure black reaches the level you need, pick a lighter tint of #18181B from the ramps above as the background instead — small lightness moves change contrast quickly. Test any other pair with the free contrast checker.
More near-black neutral colors in the library: #171717 (neutral-900), #262626 (neutral-800), #0A0A0A (neutral-950).
Frequently Asked Questions
-
What color is #18181B?
#18181B is a very dark, nearly neutral near-black neutral —
rgb(24, 24, 27). Its nearest CSS named color isblack. In Tailwind CSS it iszinc-900. -
How do I make tints and shades of #18181B?
Mix #18181B with white for tints and with black for shades. A 20% tint of #18181B is
#464649and a 20% shade is#131316— the full 10%–90% ramps are precomputed on this page, or open #18181B in the generator for finer steps. -
What text color is readable on #18181B?
White text gives the strongest contrast on a #18181B background at 17.72:1, which passes WCAG AA and AAA for normal text.
-
What is the Tailwind CSS class for #18181B?
zinc-900— use it asbg-zinc-900,text-zinc-900, orborder-zinc-900. The full zinc 50–950 ramp is linked above.
Browse more colors in the color library, or start from any hex code on the HexTints homepage.
#18181B? Put it on a free link-in-bio page →