#afa9b4
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 | #afa9b4 | |
| RGB | rgb(175 169 180) | |
| HSL | hsl(272.73 6.83% 68.43%) | |
| OKLCH | oklch(0.74 0.02 310.04) | |
| CMYK | cmyk(2.78% 6.11% 0% 29.41%) | |
| Android | #ffafa9b4 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.29:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.15: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="#afa9b4"
Gradient stop
<stop stop-color="#afa9b4"/>
CSS variable + fill
:root { --c: #afa9b4; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #afa9b4; background-color: #afa9b4; bg-[#afa9b4]