#AFA2A5#AFA2A5
#AFA2A5 is a light, near-neutral grey. Relative luminance 0.377; OKLCH L 72.4% C 0.016 H 1.7°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA2A5 |
|---|---|
| RGB | rgb(175, 162, 165) |
| HSL | hsl(346, 8%, 66%) |
| HSV | hsv(346, 7%, 69%) |
| CMYK | cmyk(0%, 7.4%, 5.7%, 31.4%) |
| CIE-LAB | lab(67.78, 5.25, 0.15) |
| CIE-LCH | lch(67.78, 5.25, 1.62°) |
| OKLab | oklab(72.42% 0.0157 0.0005) |
| OKLCH | oklch(72.42% 0.016 1.7) |
| XYZ | xyz(37.3903, 37.6717, 40.8917) |
| Luminance | 0.3767 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Dark Gray
#A9A9A9
ΔE00 6.79
Pinkish Grey
#C8ACA9
ΔE00 6.91
Dove Gray
#B6B8BD
ΔE00 8.86
Warm Grey
#978A84
ΔE00 9.21
Stone
#A89F91
ΔE00 9.91
Silver
#C0C0C0
ΔE00 10.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA2A5 #A2AFAC
analogous
#AFA2AB #AFA2A5 #AFA5A2
triadic
#AFA2A5 #A5AFA2 #A2A5AF
tetradic
#AFA2A5 #ABAFA2 #A2AFAC #A5A2AF
square
#AFA2A5 #ABAFA2 #A2AFAC #A5A2AF
split-complementary
#AFA2A5 #A2AFA5 #A2ABAF
monochromatic
#736367 #938185 #AFA2A5 #CBC3C5 #E8E4E5
Accessibility & contrast
On white
2.46
#AFA2A5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.53
#AFA2A5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA2A5
8.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA2A5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA2A5 | 1.00 | 2.46 | 8.53 | 8.53 |
| #FFFFFF | 2.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A3A4A5
Deuteranopia (green-blind)
#A6A6A5
Tritanopia (blue-blind)
#B2A1A3
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #afa2a5; /* rgb */ color: rgb(175, 162, 165); /* oklch */ color: oklch(72.4% 0.016 1.7);
Tailwind
colors: {
custom: {
50: '#c6bdbf',
500: '#afa2a5',
950: '#000000',
},
}SCSS
$custom: #afa2a5; $custom-light: #c6bdbf; $custom-dark: #000000;
JSON
{
"hex": "#afa2a5",
"rgb": {
"r": 175,
"g": 162,
"b": 165
},
"hsl": {
"h": 346.154,
"s": 7.514,
"l": 66.078
},
"oklch": {
"l": 0.72421,
"c": 0.01568,
"h": 1.7
},
"luminance": 0.37671
}Semantic roles & 50–950 ramp
primary
#AFA2A5
secondary
#D4D9D8
accent
#918354
background
#FCFBFB
surface
#F8F6F7
border
#D1D0D0
text
#131212
muted
#828181