Skip to content
Vectorlight.net

#400020

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

HEX
#400020
RGB
64, 0, 32
HSL
330°, 100%, 12.55%
OKLCH
0.24 0.1 357.29
Names
—
Lists

Codes

FormatValue
HEX#400020
RGBrgb(64 0 32)
HSLhsl(330 100% 12.55%)
OKLCHoklch(0.24 0.1 357.29)
CMYKcmyk(0% 100% 50% 74.9%)
Android#ff400020

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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