Skip to content
Vectorlight.net

#5f102a

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

HEX
#5f102a
RGB
95, 16, 42
HSL
340.25°, 71.17%, 21.76%
OKLCH
0.32 0.11 6.93
Names
—
Lists

Codes

FormatValue
HEX#5f102a
RGBrgb(95 16 42)
HSLhsl(340.25 71.17% 21.76%)
OKLCHoklch(0.32 0.11 6.93)
CMYKcmyk(0% 83.16% 55.79% 62.75%)
Android#ff5f102a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #5f102a;
background-color: #5f102a;
bg-[#5f102a]