#afb6bf
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 | #afb6bf | |
| RGB | rgb(175 182 191) | |
| HSL | hsl(213.75 11.11% 71.76%) | |
| OKLCH | oklch(0.77 0.02 254.63) | |
| CMYK | cmyk(8.38% 4.71% 0% 25.1%) | |
| Android | #ffafb6bf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.04:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
10.26: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="#afb6bf"
Gradient stop
<stop stop-color="#afb6bf"/>
CSS variable + fill
:root { --c: #afb6bf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #afb6bf; background-color: #afb6bf; bg-[#afb6bf]