Skip to content
Vectorlight.net

#d3312e

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

HEX
#d3312e
RGB
211, 49, 46
HSL
1.09°, 65.22%, 50.39%
OKLCH
0.57 0.2 27.04
Names
—
Lists

Codes

FormatValue
HEX#d3312e
RGBrgb(211 49 46)
HSLhsl(1.09 65.22% 50.39%)
OKLCHoklch(0.57 0.2 27.04)
CMYKcmyk(0% 76.78% 78.2% 17.25%)
Android#ffd3312e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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