#a7124c
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 | #a7124c | |
| RGB | rgb(167 18 76) | |
| HSL | hsl(336.64 80.54% 36.27%) | |
| OKLCH | oklch(0.47 0.18 6.18) | |
| CMYK | cmyk(0% 89.22% 54.49% 34.51%) | |
| Android | #ffa7124c |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
7.41:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.83: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="#a7124c"
Gradient stop
<stop stop-color="#a7124c"/>
CSS variable + fill
:root { --c: #a7124c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a7124c; background-color: #a7124c; bg-[#a7124c]