#d1787f
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 | #d1787f | |
| RGB | rgb(209 120 127) | |
| HSL | hsl(355.28 49.17% 64.51%) | |
| OKLCH | oklch(0.67 0.11 15.47) | |
| CMYK | cmyk(0% 42.58% 39.23% 18.04%) | |
| Android | #ffd1787f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.13:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.70: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="#d1787f"
Gradient stop
<stop stop-color="#d1787f"/>
CSS variable + fill
:root { --c: #d1787f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d1787f; background-color: #d1787f; bg-[#d1787f]