#8F8A8A

A color in the Black, Gray, White family

#8f8a8a is a color in the Black, Gray, White family: RGB(143, 138, 138), HSL(0°, 2%, 55%), CMYK(0%, 3%, 3%, 44%). Closest named color: gray. Contrast is 3.4:1 on white and 6.17:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#8f8a8a
RGBrgb(143 138 138)
RGB (legacy)rgb(143, 138, 138)
RGB %rgb(56% 54% 54%)
HSLhsl(0 2% 55%)
HSV / HSBhsv(0, 3%, 56%)
HWBhwb(0 54% 44%)
CMYKcmyk(0%, 3%, 3%, 44%)
CIELAB (D50)lab(57.92 1.92 0.7)
LCHlch(57.92 2.05 19.91)
OKLaboklab(0.6377 0.0057 0.0018)
OKLCHoklch(0.6377 0.006 17.31)
Decimal9407114

Properties

Color ToneBlack, Gray, White
Closest named colorgray ΔE 3.8
Closest web-safe color#999999
Hue0°
Saturation (HSL / HSV)2% / 3%
Lightness (HSL)55%
Brightness or Value (HSV)56%
Luminance (Rec.601 / Rec.709)55% / 55%
Relative luminance (WCAG)0.2585
Red / Green / Blue143 / 138 / 138

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.40:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.17: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 61.6 / -40.1 · As background with white / black text: Lc -67 / 42.5

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