#afa2bb
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 | #afa2bb | |
| RGB | rgb(175 162 187) | |
| HSL | hsl(271.2 15.53% 68.43%) | |
| OKLCH | oklch(0.73 0.04 308.71) | |
| CMYK | cmyk(6.42% 13.37% 0% 26.67%) | |
| Android | #ffafa2bb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.41:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.70: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="#afa2bb"
Gradient stop
<stop stop-color="#afa2bb"/>
CSS variable + fill
:root { --c: #afa2bb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #afa2bb; background-color: #afa2bb; bg-[#afa2bb]