#8A8A87

A color in the Black, Gray, White family

#8a8a87 is a color in the Black, Gray, White family: RGB(138, 138, 135), HSL(60°, 1%, 54%), CMYK(0%, 0%, 2%, 46%). Closest named color: gray. Contrast is 3.46:1 on white and 6.07:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#8a8a87
RGBrgb(138 138 135)
RGB (legacy)rgb(138, 138, 135)
RGB %rgb(54% 54% 53%)
HSLhsl(60 1% 54%)
HSV / HSBhsv(60, 2%, 54%)
HWBhwb(60 53% 46%)
CMYKcmyk(0%, 0%, 2%, 46%)
CIELAB (D50)lab(57.41 -0.43 1.61)
LCHlch(57.41 1.67 105.08)
OKLaboklab(0.6325 -0.0013 0.0042)
OKLCHoklch(0.6325 0.0044 106.53)
Decimal9079431

Properties

Color ToneBlack, Gray, White
Closest named colorgray ΔE 3.3
Closest web-safe color#999999
Hue60°
Saturation (HSL / HSV)1% / 2%
Lightness (HSL)54%
Brightness or Value (HSV)54%
Luminance (Rec.601 / Rec.709)54% / 54%
Relative luminance (WCAG)0.2533
Red / Green / Blue138 / 138 / 135

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.46:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.07: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 62.2 / -39.5 · As background with white / black text: Lc -67.7 / 41.9

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: #8a8a87;
  --color-brand-oklch: oklch(63.25% 0.0044 106.53);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(138 138 135 / 50%); }
/* Tailwind CSS */
<div class="bg-[#8a8a87] text-[#8a8a87] border-[#8a8a87]">