Skip to content
Vectorlight.net

#840502

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

HEX
#840502
RGB
132, 5, 2
HSL
1.38°, 97.01%, 26.27%
OKLCH
0.39 0.16 29.42
Names
—
Lists

Codes

FormatValue
HEX#840502
RGBrgb(132 5 2)
HSLhsl(1.38 97.01% 26.27%)
OKLCHoklch(0.39 0.16 29.42)
CMYKcmyk(0% 96.21% 98.48% 48.24%)
Android#ff840502

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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