#7c154e
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 | #7c154e | |
| RGB | rgb(124 21 78) | |
| HSL | hsl(326.8 71.03% 28.43%) | |
| OKLCH | oklch(0.4 0.15 352.59) | |
| CMYK | cmyk(0% 83.06% 37.1% 51.37%) | |
| Android | #ff7c154e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
10.12:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.07: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="#7c154e"
Gradient stop
<stop stop-color="#7c154e"/>
CSS variable + fill
:root { --c: #7c154e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #7c154e; background-color: #7c154e; bg-[#7c154e]