#AFA3A7
Closest named color: Dark Gray (#A9A9A9). oklch(72.7% 0.015 355.2), rgb(175, 163, 167).
Aa
Black text reads best on this color (8.61:1).
About this color
#AFA3A7 is a medium-light close to neutral grey. In OKLCH its lightness is 73%, its chroma 0.015. It has too little chroma to lean warm or cool. The nearest named color is Dark Gray (#A9A9A9), ΔE 0.017 away. Black text reads best on it, at 8.61:1.
| Hue family | Neutrals |
| Lightness | medium-light (73%) |
| Chroma | close to neutral grey (0.015) |
| Temperature | neutral |
| Nearest name | Dark Gray (#A9A9A9) |
| Black text | 8.61:1 |
| White text | 2.43:1 |
Values
| HEX | #AFA3A7 |
| RGB | rgb(175, 163, 167) |
| HSL | hsl(340, 7%, 66%) |
| OKLCH | oklch(72.7% 0.015 355.2) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #AFA3A7 | 2.43:1 | Fails | Lc -53.0 | Large or bold text, headings |
| Black text on #AFA3A7 | 8.61:1 | AAA | Lc 56.0 | Large or bold text, headings |
| #AFA3A7 text on white | 2.43:1 | Fails | Lc 48.0 | Large or bold text, headings |
| #AFA3A7 text on black | 8.61:1 | AAA | Lc -54.0 | Large or bold text, headings |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 400.
-
Step 50
50
#F6F5F5
oklch(97.1% 0.001 17.2)
-
Step 100
100
#EBE9EA
oklch(93.6% 0.003 345.2)
-
Step 200
200
#DCD8D9
oklch(88.6% 0.005 0)
-
Step 300
300
#C6BEC1
oklch(80.9% 0.01 352.4)
-
Step 400
400 (this color)
#AFA3A7
oklch(72.7% 0.015 355.2)
-
Step 500
500
#94858A
oklch(63.2% 0.019 355.5)
-
Step 600
600
#7E6E74
oklch(55.5% 0.022 353.2)
-
Step 700
700
#6A5C61
oklch(49% 0.02 354.3)
-
Step 800
800
#574B4F
oklch(42.6% 0.017 355.7)
-
Step 900
900
#473F42
oklch(37.7% 0.012 353)
-
Step 950
950
#2A2527
oklch(27.1% 0.008 351.5)
#AFA3A7 with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #A4A5A7 | 0.016 |
| Deuteranopia (no green cones) | #A7A7A7 | 0.015 |
| Tritanopia (no blue cones) | #B1A3A4 | 0.005 |
| Achromatopsia (no color) | #A6A6A6 | 0.015 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
This color is close to neutral, so it has no meaningful hue to rotate. Hue harmonies are omitted.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #AFA3A7, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Gray #A9A9A9 ΔE 0.017
- Cool Steel #97A7B3 ΔE 0.035
- Cement #A5A391 ΔE 0.036
- Cool Grey #95A3A6 ΔE 0.037
- Pewter #96A8A1 ΔE 0.039
- Mushroom #BA9E88 ΔE 0.042
- Bland #AFA88B ΔE 0.046
- Pinkish Grey #C8ACA9 ΔE 0.046
Use #AFA3A7 in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.