#808271#808271
#808271 is a mid, muted grey. Relative luminance 0.217; OKLCH L 60.0% C 0.025 H 112.6°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #808271 |
|---|---|
| RGB | rgb(128, 130, 113) |
| HSL | hsl(67, 7%, 48%) |
| HSV | hsv(67, 13%, 51%) |
| CMYK | cmyk(1.5%, 0%, 13.1%, 49%) |
| CIE-LAB | lab(53.76, -3.95, 8.96) |
| CIE-LCH | lch(53.76, 9.79, 113.81°) |
| OKLab | oklab(59.99% -0.0097 0.0232) |
| OKLCH | oklch(59.99% 0.025 112.6) |
| XYZ | xyz(19.8650, 21.7468, 18.7706) |
| Luminance | 0.2175 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Brown Grey
#8D8468
ΔE00 6.37
Medium Grey
#7D7F7C
ΔE00 6.69
Taupe
#8B7D6B
ΔE00 8.54
Gray
#808080
ΔE00 8.65
Brownish Grey
#86775F
ΔE00 9.21
Grey
#929591
ΔE00 9.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#808271 #737182
analogous
#827B71 #808271 #778271
triadic
#808271 #718082 #827180
tetradic
#808271 #71827B #737182 #827177
square
#808271 #71827B #737182 #827177
split-complementary
#808271 #717782 #7B7182
monochromatic
#404138 #606155 #808271 #9E9F91 #BBBCB2
Accessibility & contrast
On white
3.93
#808271 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.35
#808271 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #808271
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##808271 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##808271 | 1.00 | 3.93 | 5.35 | 5.35 |
| #FFFFFF | 3.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#858070
Deuteranopia (green-blind)
#858172
Tritanopia (blue-blind)
#82807D
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #808271; /* rgb */ color: rgb(128, 130, 113); /* oklch */ color: oklch(60.0% 0.025 112.6);
Tailwind
colors: {
custom: {
50: '#a5a699',
500: '#808271',
950: '#000000',
},
}SCSS
$custom: #808271; $custom-light: #a5a699; $custom-dark: #000000;
JSON
{
"hex": "#808271",
"rgb": {
"r": 128,
"g": 130,
"b": 113
},
"hsl": {
"h": 67.059,
"s": 6.996,
"l": 47.647
},
"oklch": {
"l": 0.59993,
"c": 0.02515,
"h": 112.6
},
"luminance": 0.21747
}Semantic roles & 50–950 ramp
primary
#808271
secondary
#A4A3AC
accent
#78B07E
background
#FAFAF9
surface
#F4F4F2
border
#CECECC
text
#0F0F0E
muted
#7F7F7E