#787271#787271
#787271 is a mid, near-neutral grey. Relative luminance 0.172; OKLCH L 55.7% C 0.008 H 28.9°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #787271 |
|---|---|
| RGB | rgb(120, 114, 113) |
| HSL | hsl(9, 3%, 46%) |
| HSV | hsv(9, 6%, 47%) |
| CMYK | cmyk(0%, 5%, 5.8%, 52.9%) |
| CIE-LAB | lab(48.54, 2.11, 1.38) |
| CIE-LCH | lch(48.54, 2.52, 33.11°) |
| OKLab | oklab(55.72% 0.0067 0.0037) |
| OKLCH | oklch(55.72% 0.008 28.9) |
| XYZ | xyz(16.7433, 17.2201, 18.0613) |
| Luminance | 0.1722 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Dimgray
#696969
ΔE00 5.12
Gray
#808080
ΔE00 5.97
Medium Grey
#7D7F7C
ΔE00 6.69
Flint
#6F7A80
ΔE00 9.21
Taupe
#8B7D6B
ΔE00 9.49
Warm Grey
#978A84
ΔE00 10.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787271 #717778
analogous
#787173 #787271 #787571
triadic
#787271 #717872 #727178
tetradic
#787271 #737871 #717778 #757178
square
#787271 #737871 #717778 #757178
split-complementary
#787271 #717875 #717378
monochromatic
#393636 #585453 #787271 #969190 #B4B0AF
Accessibility & contrast
On white
4.73
#787271 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.44
#787271 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #787271
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787271 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##787271 | 1.00 | 4.73 | 4.44 | 4.73 |
| #FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#737371
Deuteranopia (green-blind)
#747471
Tritanopia (blue-blind)
#7A7172
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #787271; /* rgb */ color: rgb(120, 114, 113); /* oklch */ color: oklch(55.7% 0.008 28.9);
Tailwind
colors: {
custom: {
50: '#9f9a99',
500: '#787271',
950: '#000000',
},
}SCSS
$custom: #787271; $custom-light: #9f9a99; $custom-dark: #000000;
JSON
{
"hex": "#787271",
"rgb": {
"r": 120,
"g": 114,
"b": 113
},
"hsl": {
"h": 8.571,
"s": 3.004,
"l": 45.686
},
"oklch": {
"l": 0.55715,
"c": 0.00762,
"h": 28.9
},
"luminance": 0.1722
}Semantic roles & 50–950 ramp
primary
#787271
secondary
#A0A4A4
accent
#A5AC7C
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0E0E
muted
#7E7E7E