Skip to content
Vectorlight.net

#540210

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

HEX
#540210
RGB
84, 2, 16
HSL
349.76°, 95.35%, 16.86%
OKLCH
0.28 0.11 20.47
Names
—
Lists

Codes

FormatValue
HEX#540210
RGBrgb(84 2 16)
HSLhsl(349.76 95.35% 16.86%)
OKLCHoklch(0.28 0.11 20.47)
CMYKcmyk(0% 97.62% 80.95% 67.06%)
Android#ff540210

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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