Skip to content
Vectorlight.net

#34040b

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

HEX
#34040b
RGB
52, 4, 11
HSL
351.25°, 85.71%, 10.98%
OKLCH
0.21 0.08 17.91
Names
—
Lists

Codes

FormatValue
HEX#34040b
RGBrgb(52 4 11)
HSLhsl(351.25 85.71% 10.98%)
OKLCHoklch(0.21 0.08 17.91)
CMYKcmyk(0% 92.31% 78.85% 79.61%)
Android#ff34040b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #34040b;
background-color: #34040b;
bg-[#34040b]