#ab697f
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 | #ab697f | |
| RGB | rgb(171 105 127) | |
| HSL | hsl(340 28.21% 54.12%) | |
| OKLCH | oklch(0.6 0.09 358.64) | |
| CMYK | cmyk(0% 38.6% 25.73% 32.94%) | |
| Android | #ffab697f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.15:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.05: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="#ab697f"
Gradient stop
<stop stop-color="#ab697f"/>
CSS variable + fill
:root { --c: #ab697f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ab697f; background-color: #ab697f; bg-[#ab697f]