#ab92bf
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 | #ab92bf | |
| RGB | rgb(171 146 191) | |
| HSL | hsl(273.33 26.01% 66.08%) | |
| OKLCH | oklch(0.7 0.07 309.74) | |
| CMYK | cmyk(10.47% 23.56% 0% 25.1%) | |
| Android | #ffab92bf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.76:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.59: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="#ab92bf"
Gradient stop
<stop stop-color="#ab92bf"/>
CSS variable + fill
:root { --c: #ab92bf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ab92bf; background-color: #ab92bf; bg-[#ab92bf]