#021014
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 | #021014 | |
| RGB | rgb(2 16 20) | |
| HSL | hsl(193.33 81.82% 4.31%) | |
| OKLCH | oklch(0.16 0.02 215.74) | |
| CMYK | cmyk(90% 20% 0% 92.16%) | |
| Android | #ff021014 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
19.32:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.08: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="#021014"
Gradient stop
<stop stop-color="#021014"/>
CSS variable + fill
:root { --c: #021014; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #021014; background-color: #021014; bg-[#021014]