Skip to content
Vectorlight.net

#402223

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

HEX
#402223
RGB
64, 34, 35
HSL
358°, 30.61%, 19.22%
OKLCH
0.29 0.05 18.15
Names
—
Lists

Codes

FormatValue
HEX#402223
RGBrgb(64 34 35)
HSLhsl(358 30.61% 19.22%)
OKLCHoklch(0.29 0.05 18.15)
CMYKcmyk(0% 46.88% 45.31% 74.9%)
Android#ff402223

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
14.27: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="#402223"
Gradient stop
<stop stop-color="#402223"/>
CSS variable + fill
:root { --c: #402223; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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