#ab99cc
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 | #ab99cc | |
| RGB | rgb(171 153 204) | |
| HSL | hsl(261.18 33.33% 70%) | |
| OKLCH | oklch(0.72 0.08 300.67) | |
| CMYK | cmyk(16.18% 25% 0% 20%) | |
| Android | #ffab99cc |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.57:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.16: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="#ab99cc"
Gradient stop
<stop stop-color="#ab99cc"/>
CSS variable + fill
:root { --c: #ab99cc; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ab99cc; background-color: #ab99cc; bg-[#ab99cc]