#8a396d
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 | #8a396d | |
| RGB | rgb(138 57 109) | |
| HSL | hsl(321.48 41.54% 38.24%) | |
| OKLCH | oklch(0.47 0.13 343.7) | |
| CMYK | cmyk(0% 58.7% 21.01% 45.88%) | |
| Android | #ff8a396d |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
7.27:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.88:1
Fail AA normal text
Fail AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#8a396d"
Gradient stop
<stop stop-color="#8a396d"/>
CSS variable + fill
:root { --c: #8a396d; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #8a396d; background-color: #8a396d; bg-[#8a396d]