#522228
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 | #522228 | |
| RGB | rgb(82 34 40) | |
| HSL | hsl(352.5 41.38% 22.75%) | |
| OKLCH | oklch(0.32 0.07 14.26) | |
| CMYK | cmyk(0% 58.54% 51.22% 67.84%) | |
| Android | #ff522228 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
12.97:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.61: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="#522228"
Gradient stop
<stop stop-color="#522228"/>
CSS variable + fill
:root { --c: #522228; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #522228; background-color: #522228; bg-[#522228]