#ab89bd
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 | #ab89bd | |
| RGB | rgb(171 137 189) | |
| HSL | hsl(279.23 28.26% 63.92%) | |
| OKLCH | oklch(0.68 0.08 313.69) | |
| CMYK | cmyk(9.52% 27.51% 0% 25.88%) | |
| Android | #ffab89bd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.98:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.04: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="#ab89bd"
Gradient stop
<stop stop-color="#ab89bd"/>
CSS variable + fill
:root { --c: #ab89bd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ab89bd; background-color: #ab89bd; bg-[#ab89bd]