#8A8D8D

A color in the Black, Gray, White family

#8a8d8d is a color in the Black, Gray, White family: RGB(138, 141, 141), HSL(180°, 1%, 55%), CMYK(2%, 0%, 0%, 45%). Closest named color: lightslategray. Contrast is 3.35:1 on white and 6.28:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#8a8d8d
RGBrgb(138 141 141)
RGB (legacy)rgb(138, 141, 141)
RGB %rgb(54% 55% 55%)
HSLhsl(180 1% 55%)
HSV / HSBhsv(180, 2%, 55%)
HWBhwb(180 54% 45%)
CMYKcmyk(2%, 0%, 0%, 45%)
CIELAB (D50)lab(58.38 -1.14 -0.41)
LCHlch(58.38 1.21 199.58)
OKLaboklab(0.6409 -0.0034 -0.001)
OKLCHoklch(0.6409 0.0035 197.07)
Decimal9080205

Properties

Color ToneBlack, Gray, White
Closest named colorlightslategray ΔE 3.7
Closest web-safe color#999999
Hue180°
Saturation (HSL / HSV)1% / 2%
Lightness (HSL)55%
Brightness or Value (HSV)55%
Luminance (Rec.601 / Rec.709)55% / 55%
Relative luminance (WCAG)0.2638
Red / Green / Blue138 / 141 / 141

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.35:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.28:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 60.9 / -40.8 · As background with white / black text: Lc -66.4 / 43.1

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #8a8d8d;
  --color-brand-oklch: oklch(64.09% 0.0035 197.07);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(138 141 141 / 50%); }
/* Tailwind CSS */
<div class="bg-[#8a8d8d] text-[#8a8d8d] border-[#8a8d8d]">