Skip to content
Vectorlight.net

#40111c

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

HEX
#40111c
RGB
64, 17, 28
HSL
345.96°, 58.02%, 15.88%
OKLCH
0.26 0.07 9.65
Names
—
Lists

Codes

FormatValue
HEX#40111c
RGBrgb(64 17 28)
HSLhsl(345.96 58.02% 15.88%)
OKLCHoklch(0.26 0.07 9.65)
CMYKcmyk(0% 73.44% 56.25% 74.9%)
Android#ff40111c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #40111c;
background-color: #40111c;
bg-[#40111c]