Skip to content
Vectorlight.net

#d3161f

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

HEX
#d3161f
RGB
211, 22, 31
HSL
357.14°, 81.12%, 45.69%
OKLCH
0.55 0.22 26.81
Names
—
Lists

Codes

FormatValue
HEX#d3161f
RGBrgb(211 22 31)
HSLhsl(357.14 81.12% 45.69%)
OKLCHoklch(0.55 0.22 26.81)
CMYKcmyk(0% 89.57% 85.31% 17.25%)
Android#ffd3161f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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