Skip to content
Vectorlight.net

#04321d

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

HEX
#04321d
RGB
4, 50, 29
HSL
152.61°, 85.19%, 10.59%
OKLCH
0.28 0.06 158.07
Names
—
Lists

Codes

FormatValue
HEX#04321d
RGBrgb(4 50 29)
HSLhsl(152.61 85.19% 10.59%)
OKLCHoklch(0.28 0.06 158.07)
CMYKcmyk(92% 0% 42% 80.39%)
Android#ff04321d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #04321d;
background-color: #04321d;
bg-[#04321d]