#AFA8B2#AFA8B2
#AFA8B2 is a light, near-neutral grey. Relative luminance 0.403; OKLCH L 74.0% C 0.016 H 316.0°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA8B2 |
|---|---|
| RGB | rgb(175, 168, 178) |
| HSL | hsl(282, 6%, 68%) |
| HSV | hsv(282, 6%, 70%) |
| CMYK | cmyk(1.7%, 5.6%, 0%, 30.2%) |
| CIE-LAB | lab(69.71, 4.38, -4.24) |
| CIE-LCH | lch(69.71, 6.10, 315.96°) |
| OKLab | oklab(74.05% 0.0116 -0.0112) |
| OKLCH | oklch(74.05% 0.016 316) |
| XYZ | xyz(39.7164, 40.3337, 47.8037) |
| Luminance | 0.4033 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Dark Gray
#A9A9A9
ΔE00 6.66
Dove Gray
#B6B8BD
ΔE00 6.71
Silver
#C0C0C0
ΔE00 8.91
Pinkish Grey
#C8ACA9
ΔE00 9.56
Cool Gray
#9AA7B0
ΔE00 10.38
Thistle
#D8BFD8
ΔE00 11.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA8B2 #ABB2A8
analogous
#AAA8B2 #AFA8B2 #B2A8B0
triadic
#AFA8B2 #B2AFA8 #A8B2AF
tetradic
#AFA8B2 #B2AAA8 #ABB2A8 #A8B0B2
square
#AFA8B2 #B2AAA8 #ABB2A8 #A8B0B2
split-complementary
#AFA8B2 #B0B2A8 #A8B2AA
monochromatic
#736977 #918895 #AFA8B2 #CDC8CF #EBE9EB
Accessibility & contrast
On white
2.32
#AFA8B2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.07
#AFA8B2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA8B2
9.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA8B2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA8B2 | 1.00 | 2.32 | 9.07 | 9.07 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A7AAB2
Deuteranopia (green-blind)
#A8AAB2
Tritanopia (blue-blind)
#AFA9AB
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #afa8b2; /* rgb */ color: rgb(175, 168, 178); /* oklch */ color: oklch(74.0% 0.016 316.0);
Tailwind
colors: {
custom: {
50: '#c6c1c9',
500: '#afa8b2',
950: '#000000',
},
}SCSS
$custom: #afa8b2; $custom-light: #c6c1c9; $custom-dark: #000000;
JSON
{
"hex": "#afa8b2",
"rgb": {
"r": 175,
"g": 168,
"b": 178
},
"hsl": {
"h": 282,
"s": 6.098,
"l": 67.843
},
"oklch": {
"l": 0.74049,
"c": 0.01618,
"h": 316
},
"luminance": 0.40334
}Semantic roles & 50–950 ramp
primary
#AFA8B2
secondary
#DADCD9
accent
#905667
background
#FCFBFC
surface
#F8F7F8
border
#D1D0D1
text
#131213
muted
#828182