Skip to content
Vectorlight.net

#51001c

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

HEX
#51001c
RGB
81, 0, 28
HSL
339.26°, 100%, 15.88%
OKLCH
0.28 0.11 9.61
Names
—
Lists

Codes

FormatValue
HEX#51001c
RGBrgb(81 0 28)
HSLhsl(339.26 100% 15.88%)
OKLCHoklch(0.28 0.11 9.61)
CMYKcmyk(0% 100% 65.43% 68.24%)
Android#ff51001c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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