Skip to content
Vectorlight.net

#df402a

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

HEX
#df402a
RGB
223, 64, 42
HSL
7.29°, 73.88%, 51.96%
OKLCH
0.6 0.2 31.12
Names
—
Lists

Codes

FormatValue
HEX#df402a
RGBrgb(223 64 42)
HSLhsl(7.29 73.88% 51.96%)
OKLCHoklch(0.6 0.2 31.12)
CMYKcmyk(0% 71.3% 81.17% 12.55%)
Android#ffdf402a

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.28:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.90:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#df402a"
Gradient stop
<stop stop-color="#df402a"/>
CSS variable + fill
:root { --c: #df402a; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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