#AFA2A8#AFA2A8
#AFA2A8 is a light, near-neutral grey. Relative luminance 0.378; OKLCH L 72.5% C 0.017 H 347.8°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA2A8 |
|---|---|
| RGB | rgb(175, 162, 168) |
| HSL | hsl(332, 8%, 66%) |
| HSV | hsv(332, 7%, 69%) |
| CMYK | cmyk(0%, 7.4%, 4%, 31.4%) |
| CIE-LAB | lab(67.86, 5.80, -1.40) |
| CIE-LCH | lch(67.86, 5.96, 346.41°) |
| OKLab | oklab(72.51% 0.0169 -0.0036) |
| OKLCH | oklch(72.51% 0.017 347.8) |
| XYZ | xyz(37.6665, 37.7822, 42.3466) |
| Luminance | 0.3778 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Pinkish Grey
#C8ACA9
ΔE00 7.42
Dark Gray
#A9A9A9
ΔE00 7.43
Dove Gray
#B6B8BD
ΔE00 8.98
Warm Grey
#978A84
ΔE00 10.09
Silver
#C0C0C0
ΔE00 10.41
Rosybrown
#BC8F8F
ΔE00 11.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA2A8 #A2AFA9
analogous
#AFA2AE #AFA2A8 #AFA2A2
triadic
#AFA2A8 #A8AFA2 #A2A8AF
tetradic
#AFA2A8 #AEAFA2 #A2AFA9 #A2A2AF
square
#AFA2A8 #AEAFA2 #A2AFA9 #A2A2AF
split-complementary
#AFA2A8 #A2AFA2 #A2AEAF
monochromatic
#73636B #938189 #AFA2A8 #CBC3C7 #E8E4E6
Accessibility & contrast
On white
2.45
#AFA2A8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.56
#AFA2A8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA2A8
8.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA2A8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA2A8 | 1.00 | 2.45 | 8.56 | 8.56 |
| #FFFFFF | 2.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A3A4A8
Deuteranopia (green-blind)
#A6A6A8
Tritanopia (blue-blind)
#B1A2A4
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #afa2a8; /* rgb */ color: rgb(175, 162, 168); /* oklch */ color: oklch(72.5% 0.017 347.8);
Tailwind
colors: {
custom: {
50: '#c6bdc1',
500: '#afa2a8',
950: '#000000',
},
}SCSS
$custom: #afa2a8; $custom-light: #c6bdc1; $custom-dark: #000000;
JSON
{
"hex": "#afa2a8",
"rgb": {
"r": 175,
"g": 162,
"b": 168
},
"hsl": {
"h": 332.308,
"s": 7.514,
"l": 66.078
},
"oklch": {
"l": 0.72512,
"c": 0.01724,
"h": 347.8
},
"luminance": 0.37782
}Semantic roles & 50–950 ramp
primary
#AFA2A8
secondary
#D4D9D7
accent
#917554
background
#FCFBFB
surface
#F8F6F7
border
#D1D0D0
text
#131212
muted
#828181