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