#2A2A2A

#2A2A2A

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

HEX

#2A2A2A

RGB

42, 42, 42

HSL

0°, 0%, 16%

CMYK

0%, 0%, 0%, 84%

OKLCH

0.285, 0, 0°

Tailwind Class

bg-[#2a2a2a]

Live UI Component Preview

Preview how #2A2A2A renders across real buttons, badges, cards, and hero elements.

CTA Button
Pill Badge
Featured Category
Active Card Border

Highlighted interactive container with #2A2A2A accent.

Tints of #2A2A2A (Lighter Steps)

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

Shades of #2A2A2A (Darker Steps)

Created by progressively mixing #2A2A2A 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 #2A2A2A. 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.

#2A2A2A
#292929

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 #2A2A2A.

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

Explore Related Colors & Combinations

Discover complementary and analogous colors paired with #2A2A2A.

Frequently Asked Questions about #2A2A2A

What is the RGB value of #2A2A2A?

The RGB value of #2A2A2A is rgb(42, 42, 42). It is composed of 42 red, 42 green, and 42 blue light channels.

What is the CMYK equivalent of #2A2A2A for printing?

For four-color process printing (offset and digital), #2A2A2A translates to Cyan 0%, Magenta 0%, Yellow 0%, and Key (Black) 84%.

What colors harmonize best with #2A2A2A?

The direct 180° complementary color is #292929. For softer and serene designs, its analogous neighbors are #292929 and #292929.

How do I use #2A2A2A in CSS and Tailwind?

In standard CSS, use color: #2A2A2A; or background-color: #2A2A2A;. In Tailwind CSS, use arbitrary value syntax: bg-[#2a2a2a] or text-[#2a2a2a].