What is hex #8A8A8A color?
In professional design frameworks, this hue is considered a balanced and versatile hue. It is ideal for creating smooth color harmony, digital artwork, or minimalist web components.
From a technical standpoint, this color is composed of 54% red, 54% green and 54% blue, resulting in rgb(138, 138, 138) and hsl(0, 0%, 54%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 0%, 0%, 46%).
In the HSV/HSB scale, #8A8A8A features a hue of 0°, 0% saturation, and 54% brightness.
Hex #8A8A8A Color Codes & Conversions
| Closest Named Color | Dolphin Gray (#828E84) |
| Hex Code | #8A8A8A |
| Hex8 (RGBA Hex) | #8A8A8AFF |
| RGB (CSS) | rgb(138, 138, 138) |
| RGBA (CSS) | rgba(138, 138, 138, 1) |
| HSL (CSS) | hsl(0, 0%, 54%) |
| HSLA (CSS) | hsla(0, 0%, 54%, 1) |
| HSV / HSB | (0°, 0%, 54%) |
| CMYK Values | (0%, 0%, 0%, 46%) |
| OKLCH (Modern CSS) | oklch(63.3% 0.000 0.0) |
| CIE-LAB (D65) | 57.48, -0.00, 0.00 |
| CIE XYZ | 24.16, 25.42, 27.67 |
| Decimal / Binary |
9079434
10001010 10001010 10001010 |
Closest Standards & Equivalents
| Closest Web Safe | #999999 |
| Inverse Color | #757575 |
| Complementary Color | #8A8A8A |
| Closest Pantone® | Pantone Cool Gray 8 C |
| Closest RAL | RAL 7046 [Telegrey 2] |
#8A8A8A Grayscale Equivalents
| Average | #8A8A8A |
| Lightness (Desaturation) | #8A8A8A |
| Weighted (BT601) | #8A8A8A |
| Luma (BT709) | #8A8A8A |
WCAG 2.1 Color Contrast & Accessibility
Check how #8A8A8A complies with web accessibility standards (WCAG AA & AAA) for typography. Need to test against another custom color? Use our interactive contrast checker.
White Text on #8A8A8A
Sample preview of readable typography on top of #8A8A8A.
Black Text on #8A8A8A
Sample preview of readable typography on top of #8A8A8A.
HTML / CSS Live Previews & Snippets for #8A8A8A
Preview #8A8A8A in real UI elements and copy ready-to-use CSS rules.
background-color: #8A8A8A;
color: #8A8A8A;
border: 2px solid #8A8A8A;
:root {
--color-primary: #8A8A8A;
--color-primary-rgb: 138, 138, 138;
--color-complementary: #8A8A8A;
}
.btn-accent {
background-color: #8A8A8A;
color: #000000;
}
Hex #8A8A8A Color Palettes
Complementary Palette
The complementary color of #8A8A8A is #8A8A8A. Opposite on the color wheel, placing these two colors next to each other creates the strongest visual contrast.
Analogous Palette
The analogous color scheme of #8A8A8A pairs with #8A8A8A and #8A8A8A, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #8A8A8A pairs with #8A8A8A and #8A8A8A, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #8A8A8A uses #8A8A8A and #8A8A8A, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #8A8A8A combines #8A8A8A, #8A8A8A and #8A8A8A around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #8A8A8A pairs with #8A8A8A, #8A8A8A and #8A8A8A spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #8A8A8A
Tints
Tints are created by mixing #8A8A8A with white, producing lighter variations.
Tones
Tones are created by mixing #8A8A8A with gray, softening saturation.
Shades
Shades result from mixing #8A8A8A with black, creating deeper variations.
Hex #8A8A8A in Programming & CSS Frameworks
Copy the exact syntax for #8A8A8A in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #8A8A8A |
| Tailwind CSS | bg-[#8A8A8A] text-[#8A8A8A] |
| Java (AWT) | new Color(138,138,138); |
| Python | Color("#8A8A8A") |
| .NET (C#) | Color.FromArgb(255, 138,138,138); |
| Swift / iOS | UIColor(red: 0.54, green: 0.54, blue: 0.54, alpha: 1) |
| Kotlin / Android | Color.rgb(138, 138, 138) |