#01271a
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 | #01271a | |
| RGB | rgb(1 39 26) | |
| HSL | hsl(159.47 95% 7.84%) | |
| OKLCH | oklch(0.24 0.05 165.47) | |
| CMYK | cmyk(97.44% 0% 33.33% 84.71%) | |
| Android | #ff01271a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
16.07:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.30: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="#01271a"
Gradient stop
<stop stop-color="#01271a"/>
CSS variable + fill
:root { --c: #01271a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #01271a; background-color: #01271a; bg-[#01271a]