#797172#797172
#797172 is a mid, near-neutral grey. Relative luminance 0.171; OKLCH L 55.6% C 0.010 H 8.8°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #797172 |
|---|---|
| RGB | rgb(121, 113, 114) |
| HSL | hsl(353, 3%, 46%) |
| HSV | hsv(353, 7%, 47%) |
| CMYK | cmyk(0%, 6.6%, 5.8%, 52.5%) |
| CIE-LAB | lab(48.37, 3.28, 0.56) |
| CIE-LCH | lch(48.37, 3.33, 9.67°) |
| OKLab | oklab(55.62% 0.0099 0.0015) |
| OKLCH | oklch(55.62% 0.01 8.8) |
| XYZ | xyz(16.8272, 17.0903, 18.3286) |
| Luminance | 0.1709 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Dimgray
#696969
ΔE00 5.88
Gray
#808080
ΔE00 6.85
Medium Grey
#7D7F7C
ΔE00 8.08
Flint
#6F7A80
ΔE00 10.31
Warm Grey
#978A84
ΔE00 10.52
Taupe
#8B7D6B
ΔE00 10.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797172 #717978
analogous
#797176 #797172 #797471
triadic
#797172 #727971 #717279
tetradic
#797172 #767971 #717978 #747179
square
#797172 #767971 #717978 #747179
split-complementary
#797172 #717974 #717679
monochromatic
#3A3636 #595354 #797172 #979091 #B5B0B0
Accessibility & contrast
On white
4.75
#797172 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#797172 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #797172
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797172 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##797172 | 1.00 | 4.75 | 4.42 | 4.75 |
| #FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#727272
Deuteranopia (green-blind)
#747372
Tritanopia (blue-blind)
#7B7071
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #797172; /* rgb */ color: rgb(121, 113, 114); /* oklch */ color: oklch(55.6% 0.010 8.8);
Tailwind
colors: {
custom: {
50: '#9f999a',
500: '#797172',
950: '#000000',
},
}SCSS
$custom: #797172; $custom-light: #9f999a; $custom-dark: #000000;
JSON
{
"hex": "#797172",
"rgb": {
"r": 121,
"g": 113,
"b": 114
},
"hsl": {
"h": 352.5,
"s": 3.419,
"l": 45.882
},
"oklch": {
"l": 0.55619,
"c": 0.01004,
"h": 8.8
},
"luminance": 0.1709
}Semantic roles & 50–950 ramp
primary
#797172
secondary
#A1A5A5
accent
#ADA67B
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0E0E
muted
#7E7E7E