Skip to content
Vectorlight.net

#982e1b

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

HEX
#982e1b
RGB
152, 46, 27
HSL
9.12°, 69.83%, 35.1%
OKLCH
0.46 0.14 32.47
Names
—
Lists

Codes

FormatValue
HEX#982e1b
RGBrgb(152 46 27)
HSLhsl(9.12 69.83% 35.1%)
OKLCHoklch(0.46 0.14 32.47)
CMYKcmyk(0% 69.74% 82.24% 40.39%)
Android#ff982e1b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #982e1b;
background-color: #982e1b;
bg-[#982e1b]