#afc4e2
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 | #afc4e2 | |
| RGB | rgb(175 196 226) | |
| HSL | hsl(215.29 46.79% 78.63%) | |
| OKLCH | oklch(0.81 0.05 257.27) | |
| CMYK | cmyk(22.57% 13.27% 0% 11.37%) | |
| Android | #ffafc4e2 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.77:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
11.81: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="#afc4e2"
Gradient stop
<stop stop-color="#afc4e2"/>
CSS variable + fill
:root { --c: #afc4e2; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #afc4e2; background-color: #afc4e2; bg-[#afc4e2]