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