Skip to content
Vectorlight.net

#d8313f

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

HEX
#d8313f
RGB
216, 49, 63
HSL
354.97°, 68.16%, 51.96%
OKLCH
0.58 0.2 22.24
Names
—
Lists

Codes

FormatValue
HEX#d8313f
RGBrgb(216 49 63)
HSLhsl(354.97 68.16% 51.96%)
OKLCHoklch(0.58 0.2 22.24)
CMYKcmyk(0% 77.31% 70.83% 15.29%)
Android#ffd8313f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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