Skip to content
Vectorlight.net

#d8301e

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

HEX
#d8301e
RGB
216, 48, 30
HSL
5.81°, 75.61%, 48.24%
OKLCH
0.58 0.21 30.35
Names
—
Lists

Codes

FormatValue
HEX#d8301e
RGBrgb(216 48 30)
HSLhsl(5.81 75.61% 48.24%)
OKLCHoklch(0.58 0.21 30.35)
CMYKcmyk(0% 77.78% 86.11% 15.29%)
Android#ffd8301e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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