#A7AAA7

A color in the Black, Gray, White family

#a7aaa7 is a color in the Black, Gray, White family: RGB(167, 170, 167), HSL(120°, 2%, 66%), CMYK(2%, 0%, 2%, 33%). Closest named color: darkgray. Contrast is 2.35:1 on white and 8.95:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#a7aaa7
RGBrgb(167 170 167)
RGB (legacy)rgb(167, 170, 167)
RGB %rgb(65% 67% 65%)
HSLhsl(120 2% 66%)
HSV / HSBhsv(120, 2%, 67%)
HWBhwb(120 65% 33%)
CMYKcmyk(2%, 0%, 2%, 33%)
CIELAB (D50)lab(69.3 -1.53 1.16)
LCHlch(69.3 1.92 142.84)
OKLaboklab(0.7347 -0.0045 0.0031)
OKLCHoklch(0.7347 0.0054 145.52)
Decimal10988199

Properties

Color ToneBlack, Gray, White
Closest named colordarkgray ΔE 0.5
Closest web-safe color#999999
Hue120°
Saturation (HSL / HSV)2% / 2%
Lightness (HSL)66%
Brightness or Value (HSV)67%
Luminance (Rec.601 / Rec.709)66% / 66%
Relative luminance (WCAG)0.3975
Red / Green / Blue167 / 170 / 167

WCAG 2.2 Contrast Ratio

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

APCA Contrast Lc (reference) — As text on white / black: Lc 46.3 / -55.8 · As background with white / black text: Lc -51.2 / 57.7

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: #a7aaa7;
  --color-brand-oklch: oklch(73.47% 0.0054 145.52);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(167 170 167 / 50%); }
/* Tailwind CSS */
<div class="bg-[#a7aaa7] text-[#a7aaa7] border-[#a7aaa7]">