Skip to content
Vectorlight.net

#9d152f

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

HEX
#9d152f
RGB
157, 21, 47
HSL
348.53°, 76.4%, 34.9%
OKLCH
0.45 0.17 18.38
Names
—
Lists

Codes

FormatValue
HEX#9d152f
RGBrgb(157 21 47)
HSLhsl(348.53 76.4% 34.9%)
OKLCHoklch(0.45 0.17 18.38)
CMYKcmyk(0% 86.62% 70.06% 38.43%)
Android#ff9d152f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #9d152f;
background-color: #9d152f;
bg-[#9d152f]