Skip to content
Vectorlight.net

#1f030d

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#1f030d
RGB
31, 3, 13
HSL
338.57°, 82.35%, 6.67%
OKLCH
0.16 0.05 0.21
Names
—
Lists

Codes

FormatValue
HEX#1f030d
RGBrgb(31 3 13)
HSLhsl(338.57 82.35% 6.67%)
OKLCHoklch(0.16 0.05 0.21)
CMYKcmyk(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

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#1f030d"
Gradient stop
<stop stop-color="#1f030d"/>
CSS variable + fill
:root { --c: #1f030d; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #1f030d;
background-color: #1f030d;
bg-[#1f030d]