#7a014e
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 | #7a014e | |
| RGB | rgb(122 1 78) | |
| HSL | hsl(321.82 98.37% 24.12%) | |
| OKLCH | oklch(0.38 0.16 350.35) | |
| CMYK | cmyk(0% 99.18% 36.07% 52.16%) | |
| Android | #ff7a014e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
10.81:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.94: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="#7a014e"
Gradient stop
<stop stop-color="#7a014e"/>
CSS variable + fill
:root { --c: #7a014e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #7a014e; background-color: #7a014e; bg-[#7a014e]