#878c8b
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 | #878c8b | |
| RGB | rgb(135 140 139) | |
| HSL | hsl(168 2.13% 53.92%) | |
| OKLCH | oklch(0.64 0.01 182.92) | |
| CMYK | cmyk(3.57% 0% 0.71% 45.1%) | |
| Android | #ff878c8b |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.41:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.15: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="#878c8b"
Gradient stop
<stop stop-color="#878c8b"/>
CSS variable + fill
:root { --c: #878c8b; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #878c8b; background-color: #878c8b; bg-[#878c8b]