#AFA2A7
Closest named color: Dark Gray (#A9A9A9). oklch(72.5% 0.017 352.2), rgb(175, 162, 167).
Aa
Black text reads best on this color (8.54:1).
About this color
#AFA2A7 is a medium-light close to neutral grey. In OKLCH its lightness is 72%, its chroma 0.017. It has too little chroma to lean warm or cool. The nearest named color is Dark Gray (#A9A9A9), ΔE 0.019 away. Black text reads best on it, at 8.54:1.
| Hue family | Neutrals |
| Lightness | medium-light (72%) |
| Chroma | close to neutral grey (0.017) |
| Temperature | neutral |
| Nearest name | Dark Gray (#A9A9A9) |
| Black text | 8.54:1 |
| White text | 2.45:1 |
Values
| HEX | #AFA2A7 |
| RGB | rgb(175, 162, 167) |
| HSL | hsl(337, 8%, 66%) |
| OKLCH | oklch(72.5% 0.017 352.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 #AFA2A7 | 2.45:1 | Fails | Lc -53.4 | Large or bold text, headings |
| Black text on #AFA2A7 | 8.54:1 | AAA | Lc 55.7 | Large or bold text, headings |
| #AFA2A7 text on white | 2.45:1 | Fails | Lc 48.3 | Large or bold text, headings |
| #AFA2A7 text on black | 8.54:1 | AAA | Lc -53.7 | 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
#DCD7D9
oklch(88.4% 0.006 350.8)
-
Step 300
300
#C6BEC1
oklch(80.9% 0.01 352.4)
-
Step 400
400 (this color)
#AFA2A7
oklch(72.5% 0.017 352.2)
-
Step 500
500
#94848B
oklch(63% 0.022 349.4)
-
Step 600
600
#7F6E75
oklch(55.6% 0.024 351.1)
-
Step 700
700
#6B5C62
oklch(49.1% 0.021 351.8)
-
Step 800
800
#574B50
oklch(42.7% 0.018 350.8)
-
Step 900
900
#483F42
oklch(37.8% 0.013 355.6)
-
Step 950
950
#2A2527
oklch(27.1% 0.008 351.5)
#AFA2A7 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) | #A3A4A7 | 0.018 |
| Deuteranopia (no green cones) | #A6A6A7 | 0.016 |
| Tritanopia (no blue cones) | #B1A2A4 | 0.005 |
| Achromatopsia (no color) | #A5A5A5 | 0.017 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AFA2A7
#AFA2A7
oklch(72.5% 0.017 352.2)
- #9CAAA5
#9CAAA5
oklch(72.5% 0.017 172.4)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #AFA2A7, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Gray #A9A9A9 ΔE 0.019
- Cool Steel #97A7B3 ΔE 0.035
- Cool Grey #95A3A6 ΔE 0.037
- Cement #A5A391 ΔE 0.037
- Pewter #96A8A1 ΔE 0.040
- Mushroom #BA9E88 ΔE 0.043
- Light Mauve #C292A1 ΔE 0.047
- Pinkish Grey #C8ACA9 ΔE 0.048
Use #AFA2A7 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.