#f5afa4
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 | #f5afa4 | |
| RGB | rgb(245 175 164) | |
| HSL | hsl(8.15 80.2% 80.2%) | |
| OKLCH | oklch(0.82 0.08 29.01) | |
| CMYK | cmyk(0% 28.57% 33.06% 3.92%) | |
| Android | #fff5afa4 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.81:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
11.55: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="#f5afa4"
Gradient stop
<stop stop-color="#f5afa4"/>
CSS variable + fill
:root { --c: #f5afa4; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f5afa4; background-color: #f5afa4; bg-[#f5afa4]