#080402
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 | #080402 | |
| RGB | rgb(8 4 2) | |
| HSL | hsl(20 60% 1.96%) | |
| OKLCH | oklch(0.11 0.01 57.67) | |
| CMYK | cmyk(0% 50% 75% 96.86%) | |
| Android | #ff080402 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
20.41:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.02: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="#080402"
Gradient stop
<stop stop-color="#080402"/>
CSS variable + fill
:root { --c: #080402; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #080402; background-color: #080402; bg-[#080402]