#052012
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 | #052012 | |
| RGB | rgb(5 32 18) | |
| HSL | hsl(148.89 72.97% 7.25%) | |
| OKLCH | oklch(0.22 0.04 157.61) | |
| CMYK | cmyk(84.38% 0% 43.75% 87.45%) | |
| Android | #ff052012 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
17.18:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.22: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="#052012"
Gradient stop
<stop stop-color="#052012"/>
CSS variable + fill
:root { --c: #052012; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #052012; background-color: #052012; bg-[#052012]