#AFA7B7
Closest named color: Dark Gray (#A9A9A9). oklch(74% 0.024 308.1), rgb(175, 167, 183).
Aa
Black text reads best on this color (9.03:1).
About this color
#AFA7B7 is a medium-light close to neutral grey. In OKLCH its lightness is 74%, its chroma 0.024. It has too little chroma to lean warm or cool. The nearest named color is Dark Gray (#A9A9A9), ΔE 0.025 away. Black text reads best on it, at 9.03:1.
| Hue family | Neutrals |
| Lightness | medium-light (74%) |
| Chroma | close to neutral grey (0.024) |
| Temperature | neutral |
| Nearest name | Dark Gray (#A9A9A9) |
| Black text | 9.03:1 |
| White text | 2.32:1 |
Values
| HEX | #AFA7B7 |
| RGB | rgb(175, 167, 183) |
| HSL | hsl(270, 10%, 69%) |
| OKLCH | oklch(74% 0.024 308.1) |
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 #AFA7B7 | 2.32:1 | Fails | Lc -50.8 | Large or bold text, headings |
| Black text on #AFA7B7 | 9.03:1 | AAA | Lc 58.1 | Large or bold text, headings |
| #AFA7B7 text on white | 2.32:1 | Fails | Lc 45.9 | Large or bold text, headings |
| #AFA7B7 text on black | 9.03:1 | AAA | Lc -56.2 | 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
#F6F5F6
oklch(97.1% 0.002 325.6)
-
Step 100
100
#EAE9EC
oklch(93.6% 0.004 301.4)
-
Step 200
200
#DAD8DD
oklch(88.5% 0.007 304.2)
-
Step 300
300
#C3BEC8
oklch(80.9% 0.015 308.3)
-
Step 400
400 (this color)
#AFA7B7
oklch(74% 0.024 308.1)
-
Step 500
500
#8F8598
oklch(63.2% 0.03 309)
-
Step 600
600
#796E83
oklch(55.6% 0.035 308.8)
-
Step 700
700
#665C6F
oklch(49.1% 0.032 308.8)
-
Step 800
800
#534B5A
oklch(42.6% 0.026 309.2)
-
Step 900
900
#453F4A
oklch(37.8% 0.02 309.8)
-
Step 950
950
#28252B
oklch(27% 0.012 308)
#AFA7B7 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) | #A5AAB8 | 0.015 |
| Deuteranopia (no green cones) | #A6AAB6 | 0.015 |
| Tritanopia (no blue cones) | #AEA9AC | 0.019 |
| Achromatopsia (no color) | #AAAAAA | 0.024 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AFA7B7
#AFA7B7
oklch(74% 0.024 308.1)
- #A6AE9E
#A6AE9E
oklch(74% 0.024 128.8)
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 #AFA7B7, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Gray #A9A9A9 ΔE 0.025
- Cool Steel #97A7B3 ΔE 0.034
- French Gray #ADB5BD ΔE 0.036
- Pinkish Grey #C8ACA9 ΔE 0.046
- Cool Grey #95A3A6 ΔE 0.046
- Pewter #96A8A1 ΔE 0.050
- Cement #A5A391 ΔE 0.056
- Light Mauve #C292A1 ΔE 0.058
Use #AFA7B7 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.