Skip to content
Vectorlight.net

#df152e

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

HEX
#df152e
RGB
223, 21, 46
HSL
352.57°, 82.79%, 47.84%
OKLCH
0.58 0.22 24.01
Names
—
Lists

Codes

FormatValue
HEX#df152e
RGBrgb(223 21 46)
HSLhsl(352.57 82.79% 47.84%)
OKLCHoklch(0.58 0.22 24.01)
CMYKcmyk(0% 90.58% 79.37% 12.55%)
Android#ffdf152e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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