#a7174b
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 | #a7174b | |
| RGB | rgb(167 23 75) | |
| HSL | hsl(338.33 75.79% 37.25%) | |
| OKLCH | oklch(0.48 0.18 7.16) | |
| CMYK | cmyk(0% 86.23% 55.09% 34.51%) | |
| Android | #ffa7174b |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
7.32:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.86: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="#a7174b"
Gradient stop
<stop stop-color="#a7174b"/>
CSS variable + fill
:root { --c: #a7174b; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a7174b; background-color: #a7174b; bg-[#a7174b]