Skip to content
Vectorlight.net

#540708

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

HEX
#540708
RGB
84, 7, 8
HSL
359.22°, 84.62%, 17.84%
OKLCH
0.29 0.11 26.95
Names
—
Lists

Codes

FormatValue
HEX#540708
RGBrgb(84 7 8)
HSLhsl(359.22 84.62% 17.84%)
OKLCHoklch(0.29 0.11 26.95)
CMYKcmyk(0% 91.67% 90.48% 67.06%)
Android#ff540708

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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