#afb8cb
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 | #afb8cb | |
| RGB | rgb(175 184 203) | |
| HSL | hsl(220.71 21.21% 74.12%) | |
| OKLCH | oklch(0.78 0.03 265.4) | |
| CMYK | cmyk(13.79% 9.36% 0% 20.39%) | |
| Android | #ffafb8cb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.99:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
10.54: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="#afb8cb"
Gradient stop
<stop stop-color="#afb8cb"/>
CSS variable + fill
:root { --c: #afb8cb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #afb8cb; background-color: #afb8cb; bg-[#afb8cb]