Skip to content
Vectorlight.net

#240407

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

HEX
#240407
RGB
36, 4, 7
HSL
354.38°, 80%, 7.84%
OKLCH
0.18 0.06 18.19
Names
—
Lists

Codes

FormatValue
HEX#240407
RGBrgb(36 4 7)
HSLhsl(354.38 80% 7.84%)
OKLCHoklch(0.18 0.06 18.19)
CMYKcmyk(0% 88.89% 80.56% 85.88%)
Android#ff240407

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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