#a792b1
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 | #a792b1 | |
| RGB | rgb(167 146 177) | |
| HSL | hsl(280.65 16.58% 63.33%) | |
| OKLCH | oklch(0.69 0.05 314.89) | |
| CMYK | cmyk(5.65% 17.51% 0% 30.59%) | |
| Android | #ffa792b1 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.84:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.38: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="#a792b1"
Gradient stop
<stop stop-color="#a792b1"/>
CSS variable + fill
:root { --c: #a792b1; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a792b1; background-color: #a792b1; bg-[#a792b1]