Skip to content
Vectorlight.net

#240508

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

HEX
#240508
RGB
36, 5, 8
HSL
354.19°, 75.61%, 8.04%
OKLCH
0.18 0.05 17.71
Names
—
Lists

Codes

FormatValue
HEX#240508
RGBrgb(36 5 8)
HSLhsl(354.19 75.61% 8.04%)
OKLCHoklch(0.18 0.05 17.71)
CMYKcmyk(0% 86.11% 77.78% 85.88%)
Android#ff240508

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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