#5a020e
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 | #5a020e | |
| RGB | rgb(90 2 14) | |
| HSL | hsl(351.82 95.65% 18.04%) | |
| OKLCH | oklch(0.3 0.12 22.68) | |
| CMYK | cmyk(0% 97.78% 84.44% 64.71%) | |
| Android | #ff5a020e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
14.48:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.44: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="#5a020e"
Gradient stop
<stop stop-color="#5a020e"/>
CSS variable + fill
:root { --c: #5a020e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #5a020e; background-color: #5a020e; bg-[#5a020e]