#18181B

#18181B

Comprehensive color parameter breakdown, RGB/CMYK conversion, WCAG accessibility metrics, and harmonious palette pairings.

HEX

#18181B

RGB

24, 24, 27

HSL

240°, 6%, 10%

CMYK

11%, 11%, 0%, 89%

OKLCH

0.21, 0.018, 240°

Tailwind Class

bg-[#18181b]

Live UI Component Preview

Preview how #18181B renders across real buttons, badges, cards, and hero elements.

CTA Button
Pill Badge
Featured Category
Active Card Border

Highlighted interactive container with #18181B accent.

Tints of #18181B (Lighter Steps)

Created by progressively blending #18181B with pure white (#FFFFFF). Click any color to explore its dedicated color theory, or click copy to copy the hex code.

Shades of #18181B (Darker Steps)

Created by progressively mixing #18181B with pure black (#000000). Click any shade to inspect its full color profile, or copy the hex code directly.

Color Harmonies & Pairings

Scientifically calculated color schemes derived from the 360° color wheel relative to #18181B. Click any swatch to view its complete color profile.

Complementary (180° Opposite)

High Impact & Contrast

Directly across on the color wheel. Maximum visual tension, ideal for Call-to-Action (CTA) buttons and badges.

#18181B
#1B1B18

Analogous (±30° Neighbors)

Harmonious & Gentle

Adjacent hues on the color wheel. Natural and serene, perfect for gradients, backgrounds, and art themes.

Triadic (120° Equilateral Triangle)

Vibrant & Balanced

Three equidistant hues around the wheel. Rich in color balance, ideal for multi-category dashboards and charts.

Tetradic (90° Rectangle)

Rich 4-Color Palette

Two complementary pairs. Offers rich variety when one color dominates and others serve as accents.

WCAG 2.1 Accessibility Contrast Checker

Official Web Content Accessibility Guidelines compliance ratings for #18181B.

White Text (#FFFFFF)
Contrast Ratio:17.71 : 1
WCAG AA (≥ 4.5)
WCAG AAA (≥ 7.0)
Black Text (#000000)
Contrast Ratio:1.19 : 1
WCAG AA (≥ 4.5)
WCAG AAA (≥ 7.0)

Explore Related Colors & Combinations

Discover complementary and analogous colors paired with #18181B.

Frequently Asked Questions about #18181B

What is the RGB value of #18181B?

The RGB value of #18181B is rgb(24, 24, 27). It is composed of 24 red, 24 green, and 27 blue light channels.

What is the CMYK equivalent of #18181B for printing?

For four-color process printing (offset and digital), #18181B translates to Cyan 11%, Magenta 11%, Yellow 0%, and Key (Black) 89%.

What colors harmonize best with #18181B?

The direct 180° complementary color is #1B1B18. For softer and serene designs, its analogous neighbors are #181A1B and #1A181B.

How do I use #18181B in CSS and Tailwind?

In standard CSS, use color: #18181B; or background-color: #18181B;. In Tailwind CSS, use arbitrary value syntax: bg-[#18181b] or text-[#18181b].