#080418
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 | #080418 | |
| RGB | rgb(8 4 24) | |
| HSL | hsl(252 71.43% 5.49%) | |
| OKLCH | oklch(0.13 0.05 290.48) | |
| CMYK | cmyk(66.67% 83.33% 0% 90.59%) | |
| Android | #ff080418 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
20.17:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.04: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="#080418"
Gradient stop
<stop stop-color="#080418"/>
CSS variable + fill
:root { --c: #080418; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #080418; background-color: #080418; bg-[#080418]