Skip to content
Vectorlight.net

#d8331d

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

HEX
#d8331d
RGB
216, 51, 29
HSL
7.06°, 76.33%, 48.04%
OKLCH
0.58 0.2 31.07
Names
—
Lists

Codes

FormatValue
HEX#d8331d
RGBrgb(216 51 29)
HSLhsl(7.06 76.33% 48.04%)
OKLCHoklch(0.58 0.2 31.07)
CMYKcmyk(0% 76.39% 86.57% 15.29%)
Android#ffd8331d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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