Zinc 900
zinc-900 · #18181B
HEX
#18181B
RGB
rgb(24, 24, 27)
CMYK
cmyk(11%, 11%, 0%, 89%)
HSL
hsl(240, 6%, 10%)
LAB
lab(8.4, 0.8, -2.1)
What is Zinc 900?
Zinc 900 is the zinc-900 reference in the Tailwind CSS palette. Its sRGB value is #18181B (rgb 24, 24, 27). It sits in the neutral family. The default color palette shipped with Tailwind CSS v3 by Tailwind Labs. 22 color families across 11 lightness steps (50 to 950). See disclaimer for accuracy and trademark notes.
Accessibility
WCAG 2.1 contrast checks for Zinc 900 as a background.
Black text on this color
White text on this color
Shades, tints & tonal scale of Zinc 900
An 11-step tonal scale derived from Zinc 900 (#18181B). Click any swatch to copy its HEX. Use these as a starting point for design tokens, hover states, and disabled states in a design system.
50
#EDEDED
#EDEDED
100
#DADADB
#DADADB
200
#B5B5B6
#B5B5B6
300
#8C8C8D
#8C8C8D
400
#525254
#525254
500
#18181B
#18181B
600
#141417
#141417
700
#101012
#101012
800
#0B0B0C
#0B0B0C
900
#060607
#060607
950
#030303
#030303
Lighter tints (mixed with white)
15%
#6F6F6F
30%
#969697
45%
#B4B4B4
60%
#CCCCCC
75%
#E1E1E1
Darker shades (mixed with black)
15%
#161618
30%
#131315
45%
#101012
60%
#0C0C0E
75%
#080809
Color harmonies for Zinc 900
Classic color-theory harmonies derived from rotating the hue of Zinc 900. Use these to build accent palettes, brand systems, and accessible UI color pairings.
Complementary
180° opposite — strongest contrast
#18181B
#18181B
#1B1B18
#1B1B18
Triadic
Three colors 120° apart
#18181B
#18181B
#1B1818
#1B1818
#181B18
#181B18
Analogous
Two neighbors ±30° on the wheel
#181A1B
#181A1B
#18181B
#18181B
#1A181B
#1A181B
Split-complementary
Base + two colors flanking its complement
#18181B
#18181B
#1B1A18
#1B1A18
#1A1B18
#1A1B18
Tetradic
Two complementary pairs
#18181B
#18181B
#1B181B
#1B181B
#1B1B18
#1B1B18
#181B18
#181B18
Square
Four colors evenly spaced 90° apart
#18181B
#18181B
#1B181A
#1B181A
#1B1B18
#1B1B18
#181B1A
#181B1A
Zinc 900 in every color space
Full conversion of Zinc 900 across the color spaces designers and developers actually use — including OKLCH (the perceptually-uniform space that powers Tailwind v4 and CSS Color Module Level 4) and HWB.
HEX
#18181B
RGB
rgb(24, 24, 27)
CMYK
cmyk(11%, 11%, 0%, 89%)
HSL
hsl(240, 6%, 10%)
HSV
hsv(240, 11%, 11%)
HWB
hwb(240 9% 89%)
CIE Lab
lab(8.4 0.8 -2.1)
OKLCH
oklch(21.0% 0.006 285.9)
XYZ (D65)
xyz(0.90, 0.93, 1.17)
Copy-ready code for Zinc 900
Drop-in snippets for CSS, Tailwind, Sass, iOS Swift, and Android XML. Click the copy button on any snippet to put it on your clipboard.
CSS
color: #18181B;
background-color: #18181B;CSS variable
:root {
--color-zinc-900: #18181B;
}Tailwind config
// tailwind.config.js
colors: {
'zinc-900': '#18181B',
}Sass
$color-zinc-900: #18181B;Swift UIColor
UIColor(red: 0.094, green: 0.094, blue: 0.106, alpha: 1.0)Android XML
<color name="zinc-900">#18181B</color>Closest match in every color system
The nearest Zinc 900 equivalent in every other color system on this site, ranked by ΔE2000 perceptual distance. Useful when translating between design-system, web-standard, and industrial color references.
Closest in Tailwind CSS palette
Top 6 ΔE2000-closest entries within the same collection.
Closest Pantone matches
Top 6 ΔE2000-closest Pantone references. Cross-system matching is approximate — see disclaimer.
Closest RAL Classic matches
Top 6 ΔE2000-closest RAL Classic references for industrial coating cross-reference.
RAL 5004
#18171C
Black blue
RAL 9011
#1C1C1C
Graphite black
RAL 9017
#1E1E1E
Traffic black
RAL 8022
#212121
Black brown
RAL 9005
#0A0A0A
Jet black
RAL 5008
#26252D
Grey blue
FAQ about Zinc 900
What is the HEX code for Zinc 900?
Zinc 900 (zinc-900) has the HEX code #18181B. In RGB it is rgb(24, 24, 27), and in CMYK it is cmyk(11%, 11%, 0%, 89%).
What is the OKLCH value of Zinc 900?
Zinc 900 converts to oklch(0.210 0.006 285.9). OKLCH is the perceptually uniform color space used by Tailwind v4 and CSS Color Module Level 4.
Is Zinc 900 accessible for body text?
Used as a background, Zinc 900 has a contrast ratio of 1.19:1 with black text and 17.72:1 with white text. WCAG 2.1 AA requires 4.5:1 for normal text. The current recommendation is to use white text and verify in real UI context.
What is the closest Pantone to Zinc 900?
The closest Pantone reference to Zinc 900 by ΔE2000 perceptual distance is Pantone Black 6 C (#101820). Cross-system Pantone matching is approximate; for color-critical print work, verify with a physical Pantone guide.
What is the closest RAL color to Zinc 900?
The closest RAL Classic reference to Zinc 900 by ΔE2000 distance is RAL 5004 (Black blue, #18171C). RAL is a German industrial coating standard commonly used for paint, powder coat, and architectural specification.
What is the complementary color of Zinc 900?
The complementary color (180° opposite on the HSL color wheel) of Zinc 900 is #1B1B18. Use it for high-contrast accents, error states, or call-to-action pairings.
Data provenance & source
Tailwind CSS default palette (v3)
The default color palette shipped with Tailwind CSS v3 by Tailwind Labs Inc. Use as a reference for design tokens, web color systems, and Tailwind-based design conversations. Names like 'blue-500' are the project's own naming convention.
- Source type
- derived
- Confidence
- high
- License
- MIT
- Last reviewed
- 2026-05-24
Workflow tags
Tailwind palette values are designed for digital interfaces under sRGB. For print, convert to a process-appropriate value and proof against the substrate; do not rely on sRGB CMYK conversion for color-critical print work.