Skip to content
Vectorlight.net

#403f52

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

HEX
#403f52
RGB
64, 63, 82
HSL
243.16°, 13.1%, 28.43%
OKLCH
0.38 0.03 287.15
Names
—
Lists

Codes

FormatValue
HEX#403f52
RGBrgb(64 63 82)
HSLhsl(243.16 13.1% 28.43%)
OKLCHoklch(0.38 0.03 287.15)
CMYKcmyk(21.95% 23.17% 0% 67.84%)
Android#ff403f52

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #403f52;
background-color: #403f52;
bg-[#403f52]