#AFA7BB
Closest named color: Dark Gray (#A9A9A9). oklch(74.1% 0.03 303.8), rgb(175, 167, 187).
Aa
Black text reads best on this color (9.06:1).
About this color
#AFA7BB is a medium-light close to neutral grey. In OKLCH its lightness is 74%, its chroma 0.030. It has too little chroma to lean warm or cool. The nearest named color is Dark Gray (#A9A9A9), ΔE 0.030 away. Black text reads best on it, at 9.06:1.
| Hue family | Neutrals |
| Lightness | medium-light (74%) |
| Chroma | close to neutral grey (0.030) |
| Temperature | neutral |
| Nearest name | Dark Gray (#A9A9A9) |
| Black text | 9.06:1 |
| White text | 2.31:1 |
Values
| HEX | #AFA7BB |
| RGB | rgb(175, 167, 187) |
| HSL | hsl(264, 13%, 69%) |
| OKLCH | oklch(74.1% 0.03 303.8) |
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 #AFA7BB | 2.31:1 | Fails | Lc -50.6 | Large or bold text, headings |
| Black text on #AFA7BB | 9.06:1 | AAA | Lc 58.3 | Large or bold text, headings |
| #AFA7BB text on white | 2.31:1 | Fails | Lc 45.7 | Large or bold text, headings |
| #AFA7BB text on black | 9.06:1 | AAA | Lc -56.4 | 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
#F6F5F7
oklch(97.1% 0.003 308.4)
-
Step 100
100
#EAE9ED
oklch(93.6% 0.005 297.7)
-
Step 200
200
#DAD7DF
oklch(88.4% 0.011 303.1)
-
Step 300
300
#C3BECB
oklch(80.9% 0.019 303.4)
-
Step 400
400 (this color)
#AFA7BB
oklch(74.1% 0.03 303.8)
-
Step 500
500
#8E849D
oklch(63.1% 0.039 303.5)
-
Step 600
600
#786E87
oklch(55.6% 0.04 303.3)
-
Step 700
700
#655C73
oklch(49.2% 0.038 302.9)
-
Step 800
800
#534B5D
oklch(42.8% 0.031 305.3)
-
Step 900
900
#443F4D
oklch(37.8% 0.024 301.5)
-
Step 950
950
#28252D
oklch(27.1% 0.015 302.4)
#AFA7BB 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) | #A4AABC | 0.016 |
| Deuteranopia (no green cones) | #A5AABA | 0.016 |
| Tritanopia (no blue cones) | #ADAAAD | 0.025 |
| Achromatopsia (no color) | #AAAAAA | 0.030 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AFA7BB
#AFA7BB
oklch(74.1% 0.03 303.8)
- #A7AF9A
#A7AF9A
oklch(74.2% 0.031 124.2)
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 #AFA7BB, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Gray #A9A9A9 ΔE 0.030
- Cool Steel #97A7B3 ΔE 0.036
- French Gray #ADB5BD ΔE 0.037
- Pinkish Grey #C8ACA9 ΔE 0.049
- Cool Grey #95A3A6 ΔE 0.050
- Pewter #96A8A1 ΔE 0.055
- Light Grey Blue #9DBCD4 ΔE 0.058
- Light Mauve #C292A1 ΔE 0.059
Use #AFA7BB 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.