Skip to content
Vectorlight.net

#df042b

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

HEX
#df042b
RGB
223, 4, 43
HSL
349.32°, 96.48%, 44.51%
OKLCH
0.57 0.23 23.84
Names
—
Lists

Codes

FormatValue
HEX#df042b
RGBrgb(223 4 43)
HSLhsl(349.32 96.48% 44.51%)
OKLCHoklch(0.57 0.23 23.84)
CMYKcmyk(0% 98.21% 80.72% 12.55%)
Android#ffdf042b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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