Skip to content
Vectorlight.net

#0f040d

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

HEX
#0f040d
RGB
15, 4, 13
HSL
310.91°, 57.89%, 3.73%
OKLCH
0.13 0.03 333.34
Names
—
Lists

Codes

FormatValue
HEX#0f040d
RGBrgb(15 4 13)
HSLhsl(310.91 57.89% 3.73%)
OKLCHoklch(0.13 0.03 333.34)
CMYKcmyk(0% 73.33% 13.33% 94.12%)
Android#ff0f040d

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
20.12:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.04: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="#0f040d"
Gradient stop
<stop stop-color="#0f040d"/>
CSS variable + fill
:root { --c: #0f040d; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #0f040d;
background-color: #0f040d;
bg-[#0f040d]