#d8998f
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 | #d8998f | |
| RGB | rgb(216 153 143) | |
| HSL | hsl(8.22 48.34% 70.39%) | |
| OKLCH | oklch(0.74 0.08 29.13) | |
| CMYK | cmyk(0% 29.17% 33.8% 15.29%) | |
| Android | #ffd8998f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.36:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.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="#d8998f"
Gradient stop
<stop stop-color="#d8998f"/>
CSS variable + fill
:root { --c: #d8998f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d8998f; background-color: #d8998f; bg-[#d8998f]