#1f030d
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 | #1f030d | |
| RGB | rgb(31 3 13) | |
| HSL | hsl(338.57 82.35% 6.67%) | |
| OKLCH | oklch(0.16 0.05 0.21) | |
| CMYK | cmyk(0% 90.32% 58.06% 87.84%) | |
| Android | #ff1f030d |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
19.49:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.07: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="#1f030d"
Gradient stop
<stop stop-color="#1f030d"/>
CSS variable + fill
:root { --c: #1f030d; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #1f030d; background-color: #1f030d; bg-[#1f030d]