#afabb7
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 | #afabb7 | |
| RGB | rgb(175 171 183) | |
| HSL | hsl(260 7.69% 69.41%) | |
| OKLCH | oklch(0.75 0.02 301.12) | |
| CMYK | cmyk(4.37% 6.56% 0% 28.24%) | |
| Android | #ffafabb7 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.25:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.33: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="#afabb7"
Gradient stop
<stop stop-color="#afabb7"/>
CSS variable + fill
:root { --c: #afabb7; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #afabb7; background-color: #afabb7; bg-[#afabb7]