Skip to content
Vectorlight.net

#842b4e

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

HEX
#842b4e
RGB
132, 43, 78
HSL
336.4°, 50.86%, 34.31%
OKLCH
0.43 0.13 359.6
Names
—
Lists

Codes

FormatValue
HEX#842b4e
RGBrgb(132 43 78)
HSLhsl(336.4 50.86% 34.31%)
OKLCHoklch(0.43 0.13 359.6)
CMYKcmyk(0% 67.42% 40.91% 48.24%)
Android#ff842b4e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #842b4e;
background-color: #842b4e;
bg-[#842b4e]