Skip to content
Vectorlight.net

#d8252e

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

HEX
#d8252e
RGB
216, 37, 46
HSL
356.98°, 70.75%, 49.61%
OKLCH
0.57 0.21 25.28
Names
—
Lists

Codes

FormatValue
HEX#d8252e
RGBrgb(216 37 46)
HSLhsl(356.98 70.75% 49.61%)
OKLCHoklch(0.57 0.21 25.28)
CMYKcmyk(0% 82.87% 78.7% 15.29%)
Android#ffd8252e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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