Skip to content
Vectorlight.net

#51271d

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

HEX
#51271d
RGB
81, 39, 29
HSL
11.54°, 47.27%, 21.57%
OKLCH
0.33 0.07 34.48
Names
—
Lists

Codes

FormatValue
HEX#51271d
RGBrgb(81 39 29)
HSLhsl(11.54 47.27% 21.57%)
OKLCHoklch(0.33 0.07 34.48)
CMYKcmyk(0% 51.85% 64.2% 68.24%)
Android#ff51271d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #51271d;
background-color: #51271d;
bg-[#51271d]