Skip to content
Vectorlight.net

#d7381f

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

HEX
#d7381f
RGB
215, 56, 31
HSL
8.15°, 74.8%, 48.24%
OKLCH
0.58 0.2 31.76
Names
—
Lists

Codes

FormatValue
HEX#d7381f
RGBrgb(215 56 31)
HSLhsl(8.15 74.8% 48.24%)
OKLCHoklch(0.58 0.2 31.76)
CMYKcmyk(0% 73.95% 85.58% 15.69%)
Android#ffd7381f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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