#140f18
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 | #140f18 | |
| RGB | rgb(20 15 24) | |
| HSL | hsl(273.33 23.08% 7.65%) | |
| OKLCH | oklch(0.18 0.02 309.65) | |
| CMYK | cmyk(16.67% 37.5% 0% 90.59%) | |
| Android | #ff140f18 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
18.89:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.11: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="#140f18"
Gradient stop
<stop stop-color="#140f18"/>
CSS variable + fill
:root { --c: #140f18; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #140f18; background-color: #140f18; bg-[#140f18]