#a0002e
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 | #a0002e | |
| RGB | rgb(160 0 46) | |
| HSL | hsl(342.75 100% 31.37%) | |
| OKLCH | oklch(0.45 0.18 17.16) | |
| CMYK | cmyk(0% 100% 71.25% 37.25%) | |
| Android | #ffa0002e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
8.28:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.53: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="#a0002e"
Gradient stop
<stop stop-color="#a0002e"/>
CSS variable + fill
:root { --c: #a0002e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #a0002e; background-color: #a0002e; bg-[#a0002e]