#AFA6B2#AFA6B2
#AFA6B2 is a light, near-neutral grey. Relative luminance 0.396; OKLCH L 73.6% C 0.020 H 317.7°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA6B2 |
|---|---|
| RGB | rgb(175, 166, 178) |
| HSL | hsl(285, 7%, 67%) |
| HSV | hsv(285, 7%, 70%) |
| CMYK | cmyk(1.7%, 6.7%, 0%, 30.2%) |
| CIE-LAB | lab(69.18, 5.48, -5.01) |
| CIE-LCH | lch(69.18, 7.42, 317.58°) |
| OKLab | oklab(73.64% 0.0146 -0.0133) |
| OKLCH | oklch(73.64% 0.02 317.7) |
| XYZ | xyz(39.3500, 39.6009, 47.6816) |
| Luminance | 0.3960 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Dark Gray
#A9A9A9
ΔE00 7.91
Dove Gray
#B6B8BD
ΔE00 8.01
Pinkish Grey
#C8ACA9
ΔE00 9.53
Silver
#C0C0C0
ΔE00 10.13
Thistle
#D8BFD8
ΔE00 10.74
Cool Gray
#9AA7B0
ΔE00 11.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA6B2 #A9B2A6
analogous
#A9A6B2 #AFA6B2 #B2A6AF
triadic
#AFA6B2 #B2AFA6 #A6B2AF
tetradic
#AFA6B2 #B2A9A6 #A9B2A6 #A6AFB2
square
#AFA6B2 #B2A9A6 #A9B2A6 #A6AFB2
split-complementary
#AFA6B2 #AFB2A6 #A6B2A9
monochromatic
#736777 #928596 #AFA6B2 #CCC7CE #EAE8EB
Accessibility & contrast
On white
2.35
#AFA6B2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.92
#AFA6B2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA6B2
8.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA6B2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA6B2 | 1.00 | 2.35 | 8.92 | 8.92 |
| #FFFFFF | 2.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A5A8B3
Deuteranopia (green-blind)
#A7A9B2
Tritanopia (blue-blind)
#AFA7AA
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #afa6b2; /* rgb */ color: rgb(175, 166, 178); /* oklch */ color: oklch(73.6% 0.020 317.7);
Tailwind
colors: {
custom: {
50: '#c6c0c9',
500: '#afa6b2',
950: '#000000',
},
}SCSS
$custom: #afa6b2; $custom-light: #c6c0c9; $custom-dark: #000000;
JSON
{
"hex": "#afa6b2",
"rgb": {
"r": 175,
"g": 166,
"b": 178
},
"hsl": {
"h": 285,
"s": 7.229,
"l": 67.451
},
"oklch": {
"l": 0.73641,
"c": 0.01979,
"h": 317.7
},
"luminance": 0.39601
}Semantic roles & 50–950 ramp
primary
#AFA6B2
secondary
#D9DCD8
accent
#915464
background
#FCFBFC
surface
#F8F7F8
border
#D1D0D1
text
#131213
muted
#828182