#787181#787181
#787181 is a mid, muted grey. Relative luminance 0.174; OKLCH L 56.0% C 0.026 H 305.3°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #787181 |
|---|---|
| RGB | rgb(120, 113, 129) |
| HSL | hsl(266, 7%, 47%) |
| HSV | hsv(266, 12%, 51%) |
| CMYK | cmyk(7%, 12.4%, 0%, 49.4%) |
| CIE-LAB | lab(48.75, 5.98, -7.81) |
| CIE-LCH | lch(48.75, 9.84, 307.43°) |
| OKLab | oklab(56.04% 0.0149 -0.021) |
| OKLCH | oklch(56.04% 0.026 305.3) |
| XYZ | xyz(17.6126, 17.3883, 23.1930) |
| Luminance | 0.1739 (WCAG relative) |
| Temperature | neutral |
| Family | grey |
Closest named colors
Purplish Grey
#7A687F
ΔE00 5.73
Purple Grey
#866F85
ΔE00 6.56
Grey Purple
#826D8C
ΔE00 7.46
Greyish Purple
#887191
ΔE00 8.24
Purpley Grey
#947E94
ΔE00 8.92
Dimgray
#696969
ΔE00 10.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#787181 #7A8171
analogous
#717281 #787181 #807181
triadic
#787181 #817871 #718178
tetradic
#787181 #817172 #7A8171 #718180
square
#787181 #817172 #7A8171 #718180
split-complementary
#787181 #818071 #728171
monochromatic
#3B3840 #5A5460 #787181 #97919E #B6B1BB
Accessibility & contrast
On white
4.69
#787181 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.48
#787181 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #787181
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##787181 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##787181 | 1.00 | 4.69 | 4.48 | 4.69 |
| #FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F7482
Deuteranopia (green-blind)
#707480
Tritanopia (blue-blind)
#777376
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #787181; /* rgb */ color: rgb(120, 113, 129); /* oklch */ color: oklch(56.0% 0.026 305.3);
Tailwind
colors: {
custom: {
50: '#9f99a5',
500: '#787181',
950: '#000000',
},
}SCSS
$custom: #787181; $custom-light: #9f99a5; $custom-dark: #000000;
JSON
{
"hex": "#787181",
"rgb": {
"r": 120,
"g": 113,
"b": 129
},
"hsl": {
"h": 266.25,
"s": 6.612,
"l": 47.451
},
"oklch": {
"l": 0.5604,
"c": 0.02571,
"h": 305.3
},
"luminance": 0.17388
}Semantic roles & 50–950 ramp
primary
#787181
secondary
#A7ABA3
accent
#B07897
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0E0F
muted
#7E7E7F