Skip to content
Vectorlight.net

#0c050f

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

HEX
#0c050f
RGB
12, 5, 15
HSL
282°, 50%, 3.92%
OKLCH
0.13 0.03 316.43
Names
—
Lists

Codes

FormatValue
HEX#0c050f
RGBrgb(12 5 15)
HSLhsl(282 50% 3.92%)
OKLCHoklch(0.13 0.03 316.43)
CMYKcmyk(20% 66.67% 0% 94.12%)
Android#ff0c050f

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
20.11: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="#0c050f"
Gradient stop
<stop stop-color="#0c050f"/>
CSS variable + fill
:root { --c: #0c050f; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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