#797175#797175
#797175 is a mid, near-neutral grey. Relative luminance 0.172; OKLCH L 55.7% C 0.012 H 345.7°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #797175 |
|---|---|
| RGB | rgb(121, 113, 117) |
| HSL | hsl(330, 3%, 46%) |
| HSV | hsv(330, 7%, 47%) |
| CMYK | cmyk(0%, 6.6%, 3.3%, 52.5%) |
| CIE-LAB | lab(48.46, 3.87, -1.10) |
| CIE-LCH | lch(48.46, 4.02, 344.17°) |
| OKLab | oklab(55.72% 0.0112 -0.0029) |
| OKLCH | oklch(55.72% 0.012 345.7) |
| XYZ | xyz(17.0007, 17.1597, 19.2427) |
| Luminance | 0.1716 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Dimgray
#696969
ΔE00 6.52
Gray
#808080
ΔE00 7.30
Medium Grey
#7D7F7C
ΔE00 8.94
Purplish Grey
#7A687F
ΔE00 9.62
Purple Grey
#866F85
ΔE00 9.89
Flint
#6F7A80
ΔE00 10.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#797175 #717975
analogous
#797179 #797175 #797171
triadic
#797175 #757971 #717579
tetradic
#797175 #797971 #717975 #717179
square
#797175 #797971 #717975 #717179
split-complementary
#797175 #717971 #717979
monochromatic
#3A3638 #595356 #797175 #979094 #B5B0B2
Accessibility & contrast
On white
4.74
#797175 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#797175 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #797175
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##797175 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##797175 | 1.00 | 4.74 | 4.43 | 4.74 |
| #FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#717275
Deuteranopia (green-blind)
#737375
Tritanopia (blue-blind)
#7A7172
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #797175; /* rgb */ color: rgb(121, 113, 117); /* oklch */ color: oklch(55.7% 0.012 345.7);
Tailwind
colors: {
custom: {
50: '#9f999c',
500: '#797175',
950: '#000000',
},
}SCSS
$custom: #797175; $custom-light: #9f999c; $custom-dark: #000000;
JSON
{
"hex": "#797175",
"rgb": {
"r": 121,
"g": 113,
"b": 117
},
"hsl": {
"h": 330,
"s": 3.419,
"l": 45.882
},
"oklch": {
"l": 0.55716,
"c": 0.01155,
"h": 345.7
},
"luminance": 0.1716
}Semantic roles & 50–950 ramp
primary
#797175
secondary
#A1A5A3
accent
#AD947B
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0E0E
muted
#7E7E7E