Skip to content
Vectorlight.net

#340f0a

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

HEX
#340f0a
RGB
52, 15, 10
HSL
7.14°, 67.74%, 12.16%
OKLCH
0.23 0.06 30.16
Names
—
Lists

Codes

FormatValue
HEX#340f0a
RGBrgb(52 15 10)
HSLhsl(7.14 67.74% 12.16%)
OKLCHoklch(0.23 0.06 30.16)
CMYKcmyk(0% 71.15% 80.77% 79.61%)
Android#ff340f0a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #340f0a;
background-color: #340f0a;
bg-[#340f0a]