#AFAFA8

A light, muted neutral closely aligning with Darkgray.

About #AFAFA8

When working with digital screens, the color #AFAFA8 is rendered by mixing light. It is closely associated with the named CSS color Darkgray. In the RGB color space, it consists of 175 red, 175 green, and 168 blue.

While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). Its ink density profile breaks down to 0% cyan, 0% magenta, 4% yellow, and 31% black. Always request a physical proof before doing a large print run with this exact code.

Web Content Accessibility Guidelines (WCAG) dictate how we should use this color. The calculated luminance score dictates that #000000 typography is the safest choice. You can view the detailed AAA and AA pass/fail metrics in the table below.

Color Space Conversions

HEX#AFAFA8
RGB175, 175, 168
HSL60.0°, 4.2%, 67.3%
CMYK0%, 0%, 4%, 31%
HSV60.0°, 4.0%, 68.6%
LAB71.3, -1.3, 3.6
XYZ40.1, 42.6, 43.2
Decimal11513768

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

2.21:1
Text on #FFFFFF
FAIL
9.52:1
Text on #000000
AAA
2.11:1
Text on #F8FAFC
FAIL
8.09:1
Text on #0F172A
AAA

CSS Implementation

.bg-color { background-color: #AFAFA8; }
.text-color { color: #AFAFA8; }
.border-color { border: 2px solid #AFAFA8; }

Similar Colors

Darkgray
#A9A9A9