Skip to content
Vectorlight.net

#402c2b

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

HEX
#402c2b
RGB
64, 44, 43
HSL
2.86°, 19.63%, 20.98%
OKLCH
0.32 0.03 22.13
Names
—
Lists

Codes

FormatValue
HEX#402c2b
RGBrgb(64 44 43)
HSLhsl(2.86 19.63% 20.98%)
OKLCHoklch(0.32 0.03 22.13)
CMYKcmyk(0% 31.25% 32.81% 74.9%)
Android#ff402c2b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #402c2b;
background-color: #402c2b;
bg-[#402c2b]