#b8a1bf
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 | #b8a1bf | |
| RGB | rgb(184 161 191) | |
| HSL | hsl(286 18.99% 69.02%) | |
| OKLCH | oklch(0.74 0.05 318.26) | |
| CMYK | cmyk(3.66% 15.71% 0% 25.1%) | |
| Android | #ffb8a1bf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.36:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.88: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="#b8a1bf"
Gradient stop
<stop stop-color="#b8a1bf"/>
CSS variable + fill
:root { --c: #b8a1bf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b8a1bf; background-color: #b8a1bf; bg-[#b8a1bf]