Skip to content
Vectorlight.net

#401421

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

HEX
#401421
RGB
64, 20, 33
HSL
342.27°, 52.38%, 16.47%
OKLCH
0.27 0.07 4.78
Names
—
Lists

Codes

FormatValue
HEX#401421
RGBrgb(64 20 33)
HSLhsl(342.27 52.38% 16.47%)
OKLCHoklch(0.27 0.07 4.78)
CMYKcmyk(0% 68.75% 48.44% 74.9%)
Android#ff401421

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #401421;
background-color: #401421;
bg-[#401421]