#987481
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 | #987481 | |
| RGB | rgb(152 116 129) | |
| HSL | hsl(338.33 14.88% 52.55%) | |
| OKLCH | oklch(0.6 0.05 355.13) | |
| CMYK | cmyk(0% 23.68% 15.13% 40.39%) | |
| Android | #ff987481 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.07:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.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="#987481"
Gradient stop
<stop stop-color="#987481"/>
CSS variable + fill
:root { --c: #987481; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #987481; background-color: #987481; bg-[#987481]