#a1787f
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 | #a1787f | |
| RGB | rgb(161 120 127) | |
| HSL | hsl(349.76 17.9% 55.1%) | |
| OKLCH | oklch(0.62 0.05 7.34) | |
| CMYK | cmyk(0% 25.47% 21.12% 36.86%) | |
| Android | #ffa1787f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.81:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.50: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="#a1787f"
Gradient stop
<stop stop-color="#a1787f"/>
CSS variable + fill
:root { --c: #a1787f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a1787f; background-color: #a1787f; bg-[#a1787f]