#d8afbc
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 | #d8afbc | |
| RGB | rgb(216 175 188) | |
| HSL | hsl(340.98 34.45% 76.67%) | |
| OKLCH | oklch(0.79 0.05 357.36) | |
| CMYK | cmyk(0% 18.98% 12.96% 15.29%) | |
| Android | #ffd8afbc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.94:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
10.77: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="#d8afbc"
Gradient stop
<stop stop-color="#d8afbc"/>
CSS variable + fill
:root { --c: #d8afbc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d8afbc; background-color: #d8afbc; bg-[#d8afbc]