#AFA8B6
A light, muted neutral closely aligning with Darkgray.
About #AFA8B6
At its core, #AFA8B6 is a light and muted hue. It is closely associated with the named CSS color Darkgray. To achieve this exact tint on a monitor, you would use an RGB mix of 175, 168, and 182.
When sending designs containing this color to a printer, the CMYK values come into play. The color uses 4% Cyan, 8% Magenta, 0% Yellow, and 29% Black. This makes it a relatively light color when applied to physical surfaces.
Ensuring your text is legible against this background is a key part of web design. The calculated luminance score dictates that #000000 typography is the safest choice. Strict adherence to these ratios protects visually impaired users from unreadable interfaces.
Color Space Conversions
HEX#AFA8B6
RGB175, 168, 182
HSL270.0°, 8.8%, 68.6%
CMYK4%, 8%, 0%, 29%
HSV270.0°, 7.7%, 71.4%
LAB69.8, 5.2, -6.3
XYZ40.1, 40.5, 50.0
Decimal11511990
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
2.31:1
Text on #FFFFFF
FAIL
9.10:1
Text on #000000
AAA
2.21:1
Text on #F8FAFC
FAIL
7.74:1
Text on #0F172A
AAA
CSS Implementation
.bg-color {
background-color: #AFA8B6;
}
.text-color {
color: #AFA8B6;
}
.border-color {
border: 2px solid #AFA8B6;
}