#b4afa2
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 | #b4afa2 | |
| RGB | rgb(180 175 162) | |
| HSL | hsl(43.33 10.71% 67.06%) | |
| OKLCH | oklch(0.75 0.02 89.39) | |
| CMYK | cmyk(0% 2.78% 10% 29.41%) | |
| Android | #ffb4afa2 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.18:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.59: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="#b4afa2"
Gradient stop
<stop stop-color="#b4afa2"/>
CSS variable + fill
:root { --c: #b4afa2; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #b4afa2; background-color: #b4afa2; bg-[#b4afa2]