Skip to content
Vectorlight.net

#df002a

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

HEX
#df002a
RGB
223, 0, 42
HSL
348.7°, 100%, 43.73%
OKLCH
0.57 0.23 23.89
Names
—
Lists

Codes

FormatValue
HEX#df002a
RGBrgb(223 0 42)
HSLhsl(348.7 100% 43.73%)
OKLCHoklch(0.57 0.23 23.89)
CMYKcmyk(0% 100% 81.17% 12.55%)
Android#ffdf002a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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