#d1afbc
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 | #d1afbc | |
| RGB | rgb(209 175 188) | |
| HSL | hsl(337.06 26.98% 75.29%) | |
| OKLCH | oklch(0.79 0.04 353.15) | |
| CMYK | cmyk(0% 16.27% 10.05% 18.04%) | |
| Android | #ffd1afbc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.98:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
10.56: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="#d1afbc"
Gradient stop
<stop stop-color="#d1afbc"/>
CSS variable + fill
:root { --c: #d1afbc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d1afbc; background-color: #d1afbc; bg-[#d1afbc]