#AFA7B2#AFA7B2
#AFA7B2 is a light, near-neutral grey. Relative luminance 0.400; OKLCH L 73.8% C 0.018 H 316.9°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA7B2 |
|---|---|
| RGB | rgb(175, 167, 178) |
| HSL | hsl(284, 7%, 68%) |
| HSV | hsv(284, 6%, 70%) |
| CMYK | cmyk(1.7%, 6.2%, 0%, 30.2%) |
| CIE-LAB | lab(69.45, 4.93, -4.62) |
| CIE-LCH | lch(69.45, 6.76, 316.85°) |
| OKLab | oklab(73.85% 0.0131 -0.0123) |
| OKLCH | oklch(73.85% 0.018 316.9) |
| XYZ | xyz(39.5325, 39.9659, 47.7424) |
| Luminance | 0.3997 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Dark Gray
#A9A9A9
ΔE00 7.29
Dove Gray
#B6B8BD
ΔE00 7.36
Silver
#C0C0C0
ΔE00 9.52
Pinkish Grey
#C8ACA9
ΔE00 9.52
Cool Gray
#9AA7B0
ΔE00 11.00
Thistle
#D8BFD8
ΔE00 11.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA7B2 #AAB2A7
analogous
#A9A7B2 #AFA7B2 #B2A7B0
triadic
#AFA7B2 #B2AFA7 #A7B2AF
tetradic
#AFA7B2 #B2A9A7 #AAB2A7 #A7B0B2
square
#AFA7B2 #B2A9A7 #AAB2A7 #A7B0B2
split-complementary
#AFA7B2 #B0B2A7 #A7B2A9
monochromatic
#736877 #918695 #AFA7B2 #CDC8CF #EAE8EB
Accessibility & contrast
On white
2.34
#AFA7B2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.99
#AFA7B2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA7B2
8.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA7B2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA7B2 | 1.00 | 2.34 | 8.99 | 8.99 |
| #FFFFFF | 2.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A6A9B3
Deuteranopia (green-blind)
#A7AAB2
Tritanopia (blue-blind)
#AFA8AA
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #afa7b2; /* rgb */ color: rgb(175, 167, 178); /* oklch */ color: oklch(73.8% 0.018 316.9);
Tailwind
colors: {
custom: {
50: '#c6c1c9',
500: '#afa7b2',
950: '#000000',
},
}SCSS
$custom: #afa7b2; $custom-light: #c6c1c9; $custom-dark: #000000;
JSON
{
"hex": "#afa7b2",
"rgb": {
"r": 175,
"g": 167,
"b": 178
},
"hsl": {
"h": 283.636,
"s": 6.667,
"l": 67.647
},
"oklch": {
"l": 0.73845,
"c": 0.01798,
"h": 316.9
},
"luminance": 0.39966
}Semantic roles & 50–950 ramp
primary
#AFA7B2
secondary
#DADCD9
accent
#915565
background
#FCFBFC
surface
#F8F7F8
border
#D1D0D1
text
#131213
muted
#828182