#787b71
Codes, contrast, shades, harmonies and SVG snippets for this color.
- Codes
- Names & lists
- Contrast
- Shades & tints
- Harmonies
- Color-blindness
- SVG snippets
- CSS
- Related colors
Codes
| Format | Value | |
|---|---|---|
| HEX | #787b71 | |
| RGB | rgb(120 123 113) | |
| HSL | hsl(78 4.24% 46.27%) | |
| OKLCH | oklch(0.58 0.02 120.49) | |
| CMYK | cmyk(2.44% 0% 8.13% 51.76%) | |
| Android | #ff787b71 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.31:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.87:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#787b71"
Gradient stop
<stop stop-color="#787b71"/>
CSS variable + fill
:root { --c: #787b71; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #787b71; background-color: #787b71; bg-[#787b71]